Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.952/2.952, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.91 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009029/0.3194, allocations: 6.546 MB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.4803, allocations: 133.8 MB / 1.5 GB, free: 1.188 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.4815, allocations: 27.81 kB / 1.5 GB, free: 1.16 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.4834, allocations: 431.1 kB / 1.501 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.4863, allocations: 0.7894 MB / 1.502 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.489, allocations: 1.152 MB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.4924, allocations: 2.482 MB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.4938, allocations: 0.7432 MB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.4951, allocations: 0.9463 MB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.4965, allocations: 0.8866 MB / 1.508 GB, free: 9.676 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.497, allocations: 268 kB / 1.508 GB, free: 9.414 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4985, allocations: 0.6481 MB / 1.509 GB, free: 8.766 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006141/0.4991, allocations: 0.5764 MB / 1.509 GB, free: 8.188 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.5003, allocations: 0.8867 MB / 1.51 GB, free: 7.297 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.5043, allocations: 3.235 MB / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5043, allocations: 0 / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5043, allocations: 0 / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.549e-05/0.5043, allocations: 0 / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004639/0.509, allocations: 2.297 MB / 1.515 GB, free: 1.711 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.509, allocations: 8.031 kB / 1.515 GB, free: 1.703 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.5093, allocations: 236.7 kB / 1.516 GB, free: 1.461 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.5255, allocations: 2.544 MB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.5279, allocations: 1.147 MB / 1.519 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.528, allocations: 115.3 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.5282, allocations: 160 kB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008825/0.5371, allocations: 3.249 MB / 1.523 GB, free: 10.09 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.5371, allocations: 0 / 1.523 GB, free: 10.09 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.5373, allocations: 71.94 kB / 1.523 GB, free: 10.02 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.5373, allocations: 36 kB / 1.523 GB, free: 9.984 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.5512, allocations: 4.103 MB / 1.527 GB, free: 5.875 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.5666, allocations: 7.191 MB / 1.534 GB, free: 13.98 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008149/0.5747, allocations: 2.467 MB / 1.536 GB, free: 11.52 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005881/0.5806, allocations: 1.582 MB / 1.538 GB, free: 9.934 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.5807, allocations: 33.28 kB / 1.538 GB, free: 9.902 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006437/0.5871, allocations: 2.064 MB / 1.54 GB, free: 7.797 MB / 1.232 GB Notification: Performance of pre-optimization done (n=139): time 2.956e-06/0.5871, allocations: 0 / 1.54 GB, free: 7.797 MB / 1.232 GB Notification: Performance of matching and sorting (n=139): time 0.01923/0.6064, allocations: 4.952 MB / 1.545 GB, free: 2.832 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6065, allocations: 222.9 kB / 1.545 GB, free: 2.566 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6079, allocations: 0.981 MB / 1.546 GB, free: 1.566 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.6081, allocations: 53.7 kB / 1.546 GB, free: 1.508 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/0.6087, allocations: 0.6815 MB / 1.547 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.6092, allocations: 467.9 kB / 1.547 GB, free: 364 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/0.6097, allocations: 262.8 kB / 1.547 GB, free: 96 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.6098, allocations: 353.9 kB / 1.548 GB, free: 15.74 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005865/0.6157, allocations: 1.521 MB / 1.549 GB, free: 14.22 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.6218, allocations: 1.825 MB / 1.551 GB, free: 12.32 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.6327, allocations: 2.845 MB / 1.554 GB, free: 9.461 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6327, allocations: 0 / 1.554 GB, free: 9.461 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01261/0.6453, allocations: 3.355 MB / 1.557 GB, free: 6.094 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6453, allocations: 11.98 kB / 1.557 GB, free: 6.082 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6453, allocations: 64 / 1.557 GB, free: 6.082 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.6459, allocations: 92.72 kB / 1.557 GB, free: 5.988 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.6495, allocations: 0.6476 MB / 1.558 GB, free: 5.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.6516, allocations: 1.523 MB / 1.559 GB, free: 3.691 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.6549, allocations: 0.5144 MB / 1.56 GB, free: 3.176 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.6551, allocations: 64 kB / 1.56 GB, free: 3.113 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008378/0.6559, allocations: 405.2 kB / 1.56 GB, free: 2.711 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.6562, allocations: 143 kB / 1.56 GB, free: 2.57 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.67, allocations: 3.842 MB / 1.564 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.67, allocations: 16 kB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.67, allocations: 3.938 kB / 1.564 GB, free: 14.69 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6701, allocations: 7.969 kB / 1.564 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.6731, allocations: 2.369 MB / 1.566 GB, free: 11.97 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6731, allocations: 3.984 kB / 1.566 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/0.6767, allocations: 0.6242 MB / 1.567 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.6771, allocations: 76.78 kB / 1.567 GB, free: 11.26 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.6772, allocations: 47.94 kB / 1.567 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.6792, allocations: 1.566 MB / 1.569 GB, free: 9.527 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6792, allocations: 4 kB / 1.569 GB, free: 9.523 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.692, allocations: 3.488 MB / 1.572 GB, free: 6.012 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.6931, allocations: 426.4 kB / 1.572 GB, free: 5.594 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.6933, allocations: 39.95 kB / 1.572 GB, free: 5.555 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/0.6965, allocations: 461.6 kB / 1.573 GB, free: 5.105 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.6968, allocations: 121 kB / 1.573 GB, free: 4.984 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.6969, allocations: 67.94 kB / 1.573 GB, free: 4.918 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009955/0.6979, allocations: 0.7032 MB / 1.574 GB, free: 4.207 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6979, allocations: 0 / 1.574 GB, free: 4.207 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001269/0.6992, allocations: 0.5416 MB / 1.574 GB, free: 3.664 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01481/0.714, allocations: 4.606 MB / 1.579 GB, free: 15.24 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01249/0.7265, allocations: 3.426 MB / 1.582 GB, free: 11.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7265, allocations: 0 / 1.582 GB, free: 11.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006312/0.7328, allocations: 1.845 MB / 1.584 GB, free: 9.941 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7344, allocations: 392.3 kB / 1.584 GB, free: 9.574 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/0.7818, allocations: 16.53 MB / 1.6 GB, free: 8.895 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.7825, allocations: 0.7022 MB / 1.601 GB, free: 8.152 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00197/0.7845, allocations: 458.5 kB / 1.602 GB, free: 7.699 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.7858, allocations: 0.6944 MB / 1.602 GB, free: 7.004 MB / 1.295 GB Notification: Performance of SimCode: time 7.21e-07/0.7858, allocations: 0 / 1.602 GB, free: 7.004 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6121/1.398, allocations: 41.23 MB / 1.643 GB, free: 235 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.55, allocations: 8.25 kB / 1.643 GB, free: 235 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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: 20.799095877911896]