Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.89 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3369, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003128/0.34, allocations: 1.607 MB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.341, allocations: 0.5531 MB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.3411, allocations: 0 / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.3411, allocations: 7.875 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.3414, allocations: 43.77 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.3415, allocations: 43.88 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3416, allocations: 107.6 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3418, allocations: 23.86 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3419, allocations: 39.91 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.342, allocations: 51.81 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.342, allocations: 8 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.3421, allocations: 12 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.3421, allocations: 23.84 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.3422, allocations: 51.8 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3423, allocations: 87.67 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3423, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3423, allocations: 3.938 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3423, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007826/0.3431, allocations: 403.1 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3432, allocations: 16.62 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.3432, allocations: 34.75 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3432, allocations: 8.891 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3434, allocations: 192.2 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3435, allocations: 4.375 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3435, allocations: 8.375 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3437, allocations: 87.88 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3437, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3437, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3437, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3438, allocations: 59.91 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.3444, allocations: 336.7 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3446, allocations: 102.7 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.3447, allocations: 36.83 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3447, allocations: 4 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.345, allocations: 99.34 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.345, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0003529/0.3453, allocations: 153.5 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3454, allocations: 51.41 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3455, allocations: 126.5 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3455, allocations: 25.7 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.3456, allocations: 108.4 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3456, allocations: 35.72 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.3457, allocations: 29.7 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3458, allocations: 318.8 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.3459, allocations: 27.98 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.3459, allocations: 27.98 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.346, allocations: 60.84 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.346, allocations: 3.938 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001855/0.3462, allocations: 120.4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3462, allocations: 9.875 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3462, allocations: 0 / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3463, allocations: 0 / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3464, allocations: 23.98 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3464, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3465, allocations: 19.88 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3465, allocations: 4 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.3466, allocations: 113.8 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.3466, allocations: 19.89 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.3469, allocations: 142 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3469, allocations: 4 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3469, allocations: 0 / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3469, allocations: 3.938 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.3471, allocations: 213.5 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3471, allocations: 0 / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.3472, allocations: 12 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3472, allocations: 3.984 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3472, allocations: 4 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3472, allocations: 7.938 kB / 1.309 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3472, allocations: 0 / 1.309 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3475, allocations: 165 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3475, allocations: 85.06 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3475, allocations: 3.984 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.3476, allocations: 8 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3477, allocations: 15.92 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3477, allocations: 11.98 kB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.974e-05/0.3478, allocations: 103.3 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3478, allocations: 0 / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002038/0.348, allocations: 23.95 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006168/0.3486, allocations: 0.7018 MB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3488, allocations: 83.89 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3488, allocations: 7.938 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.77e-05/0.3489, allocations: 39.98 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3491, allocations: 19.81 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3507, allocations: 1.453 MB / 1.312 GB, free: 8.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3511, allocations: 0.6963 MB / 1.313 GB, free: 7.977 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.3511, allocations: 12.56 kB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.3512, allocations: 31.42 kB / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3512, allocations: 0 / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3759, allocations: 2.317 MB / 1.315 GB, free: 5.766 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.45, allocations: 10.78 kB / 1.315 GB, free: 5.758 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.877157210372388]