Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.00141/0.00141, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.00139/0.00139, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 1.104 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008749/1.168, allocations: 7.414 MB / 1.276 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2271/1.395, allocations: 152.2 MB / 1.425 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/1.398, allocations: 19 kB / 1.425 GB, free: 1.137 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/1.399, allocations: 312.7 kB / 1.425 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/1.403, allocations: 0.8157 MB / 1.426 GB, free: 252 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/1.407, allocations: 1.135 MB / 1.427 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005423/1.413, allocations: 2.354 MB / 1.429 GB, free: 13.87 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/1.415, allocations: 0.7769 MB / 1.43 GB, free: 13.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/1.417, allocations: 0.9058 MB / 1.431 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/1.419, allocations: 0.9879 MB / 1.432 GB, free: 12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/1.419, allocations: 264.2 kB / 1.432 GB, free: 12 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/1.421, allocations: 0.6436 MB / 1.433 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/1.421, allocations: 0.5461 MB / 1.433 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/1.423, allocations: 1.062 MB / 1.434 GB, free: 10.54 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004949/1.428, allocations: 3.128 MB / 1.437 GB, free: 8.176 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.428, allocations: 3.938 kB / 1.437 GB, free: 8.172 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.532e-06/1.428, allocations: 0 / 1.437 GB, free: 8.172 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.904e-05/1.428, allocations: 0 / 1.437 GB, free: 8.172 MB / 1.123 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.005802/1.434, allocations: 2.3 MB / 1.439 GB, free: 6.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.434, allocations: 8.031 kB / 1.439 GB, free: 6.262 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003185/1.434, allocations: 236.7 kB / 1.44 GB, free: 6.02 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006427/1.441, allocations: 0.8697 MB / 1.441 GB, free: 5.148 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/1.443, allocations: 1.118 MB / 1.442 GB, free: 3.984 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/1.443, allocations: 119.3 kB / 1.442 GB, free: 3.867 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/1.444, allocations: 160 kB / 1.442 GB, free: 3.711 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/1.449, allocations: 2.051 MB / 1.444 GB, free: 1.609 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/1.449, allocations: 4 kB / 1.444 GB, free: 1.605 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/1.449, allocations: 64 kB / 1.444 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/1.449, allocations: 40 kB / 1.444 GB, free: 1.504 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/1.455, allocations: 2.456 MB / 1.446 GB, free: 15.04 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/1.468, allocations: 5.652 MB / 1.452 GB, free: 9.215 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/1.472, allocations: 1.604 MB / 1.454 GB, free: 7.602 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/1.474, allocations: 0.7352 MB / 1.454 GB, free: 6.867 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009214/1.475, allocations: 499.1 kB / 1.455 GB, free: 6.285 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002725/1.478, allocations: 1.067 MB / 1.456 GB, free: 5.199 MB / 1.139 GB Notification: Performance of pre-optimization done (n=139): time 3.296e-06/1.478, allocations: 0 / 1.456 GB, free: 5.199 MB / 1.139 GB Notification: Performance of matching and sorting (n=139): time 0.00801/1.486, allocations: 2.61 MB / 1.458 GB, free: 2.566 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.486, allocations: 193.2 kB / 1.458 GB, free: 2.332 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.487, allocations: 0.8902 MB / 1.459 GB, free: 1.418 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.488, allocations: 53.7 kB / 1.459 GB, free: 1.359 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/1.488, allocations: 0.6459 MB / 1.46 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/1.489, allocations: 468 kB / 1.46 GB, free: 248 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005145/1.489, allocations: 258.8 kB / 1.461 GB, free: 15.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.49, allocations: 357.9 kB / 1.461 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/1.491, allocations: 0.6702 MB / 1.462 GB, free: 14.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/1.494, allocations: 0.8119 MB / 1.463 GB, free: 14.11 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/1.498, allocations: 1.455 MB / 1.464 GB, free: 12.64 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.498, allocations: 0 / 1.464 GB, free: 12.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005253/1.503, allocations: 1.797 MB / 1.466 GB, free: 10.83 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/1.503, allocations: 4 kB / 1.466 GB, free: 10.83 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.503, allocations: 7.938 kB / 1.466 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.503, allocations: 84.75 kB / 1.466 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.505, allocations: 335.5 kB / 1.466 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.508, allocations: 1.648 MB / 1.468 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.51, allocations: 199.1 kB / 1.468 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.51, allocations: 55.95 kB / 1.468 GB, free: 8.363 MB / 1.154 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.0008576/1.511, allocations: 391.7 kB / 1.468 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/1.511, allocations: 131.2 kB / 1.468 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/1.517, allocations: 2.214 MB / 1.471 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.517, allocations: 19.94 kB / 1.471 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.517, allocations: 0 / 1.471 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.517, allocations: 7.969 kB / 1.471 GB, free: 5.586 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.52, allocations: 1.8 MB / 1.472 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.52, allocations: 0 / 1.472 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.521, allocations: 307.6 kB / 1.473 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/1.522, allocations: 84.72 kB / 1.473 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.522, allocations: 43.95 kB / 1.473 GB, free: 3.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.524, allocations: 1.678 MB / 1.474 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.524, allocations: 0 / 1.474 GB, free: 1.492 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/1.529, allocations: 1.93 MB / 1.476 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009536/1.53, allocations: 439.7 kB / 1.477 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/1.53, allocations: 35.94 kB / 1.477 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.532, allocations: 147.9 kB / 1.477 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/1.532, allocations: 117.1 kB / 1.477 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.532, allocations: 63.94 kB / 1.477 GB, free: 14.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001032/1.533, allocations: 0.6423 MB / 1.478 GB, free: 14.08 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/1.533, allocations: 0 / 1.478 GB, free: 14.08 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001538/1.535, allocations: 0.5181 MB / 1.478 GB, free: 13.56 MB / 1.17 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.007487/1.542, allocations: 3.02 MB / 1.481 GB, free: 10.7 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005069/1.547, allocations: 1.72 MB / 1.483 GB, free: 8.973 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.547, allocations: 0 / 1.483 GB, free: 8.973 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.55, allocations: 0.9899 MB / 1.484 GB, free: 7.969 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.552, allocations: 371.4 kB / 1.484 GB, free: 7.629 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/1.577, allocations: 11.14 MB / 1.495 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.578, allocations: 1.267 MB / 1.496 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001789/1.579, allocations: 394.3 kB / 1.497 GB, free: 10.64 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.581, allocations: 0.6593 MB / 1.497 GB, free: 9.984 MB / 1.186 GB Notification: Performance of SimCode: time 1.423e-06/1.581, allocations: 0 / 1.497 GB, free: 9.984 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08499/1.666, allocations: 34.55 MB / 1.531 GB, free: 7.785 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.43, allocations: 15.5 kB / 1.531 GB, free: 7.773 MB / 1.217 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.929462836124003]