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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 192.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 469.8 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.95 kB / 0.908 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3517, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01057/0.3623, allocations: 7.335 MB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1924/0.5548, allocations: 149.5 MB / 1.217 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.5565, allocations: 19.94 kB / 1.217 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.5575, allocations: 238.2 kB / 1.217 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.5601, allocations: 0.7067 MB / 1.218 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.5625, allocations: 1.029 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5655, allocations: 2.345 MB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.5671, allocations: 1.152 MB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.5685, allocations: 0.8994 MB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.5698, allocations: 0.9843 MB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.5702, allocations: 264 kB / 1.224 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.5716, allocations: 0.6207 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.5722, allocations: 0.5414 MB / 1.225 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.5734, allocations: 1.065 MB / 1.226 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.5772, allocations: 3.054 MB / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5772, allocations: 0 / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5772, allocations: 0 / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.467e-05/0.5773, allocations: 4 kB / 1.229 GB, free: 4.184 MB / 0.9825 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.005415/0.5827, allocations: 2.227 MB / 1.231 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5828, allocations: 12.02 kB / 1.231 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006165/0.5889, allocations: 0.8647 MB / 1.232 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.5914, allocations: 1.075 MB / 1.233 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.5916, allocations: 131.2 kB / 1.233 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.5918, allocations: 156 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006035/0.5979, allocations: 2.059 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.598, allocations: 0 / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.5982, allocations: 68 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/0.5983, allocations: 40 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006614/0.6049, allocations: 2.448 MB / 1.238 GB, free: 10.95 MB / 0.9981 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.01079/0.6157, allocations: 5.693 MB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.6201, allocations: 1.72 MB / 1.245 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.6222, allocations: 0.7973 MB / 1.246 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.623, allocations: 487.1 kB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002645/0.6257, allocations: 1.084 MB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=139): time 3.306e-06/0.6257, allocations: 0 / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.4969/1.123, allocations: 2.592 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/1.123, allocations: 200 kB / 1.25 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/1.124, allocations: 0.8804 MB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.124, allocations: 56.38 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/1.125, allocations: 0.6304 MB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/1.125, allocations: 452.1 kB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/1.125, allocations: 270.1 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/1.126, allocations: 356.3 kB / 1.253 GB, free: 184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.127, allocations: 0.6933 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/1.129, allocations: 0.8269 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/1.133, allocations: 1.464 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.133, allocations: 0 / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004666/1.138, allocations: 1.832 MB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.138, allocations: 7.344 kB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.138, allocations: 1.406 kB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.138, allocations: 85.38 kB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.14, allocations: 346.3 kB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.142, allocations: 1.654 MB / 1.26 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.144, allocations: 211.8 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.144, allocations: 66.12 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (161): * Single equations (assignments): 160 * 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.0007224/1.145, allocations: 391.1 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.145, allocations: 126.4 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/1.151, allocations: 2.22 MB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.151, allocations: 16.36 kB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.151, allocations: 0 / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.151, allocations: 7.5 kB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/1.153, allocations: 1.783 MB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.153, allocations: 2.719 kB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.155, allocations: 317.7 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/1.155, allocations: 75.94 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.156, allocations: 47.12 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/1.157, allocations: 1.681 MB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.157, allocations: 3 kB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00532/1.162, allocations: 1.914 MB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/1.163, allocations: 434.8 kB / 1.269 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.163, allocations: 39.53 kB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.165, allocations: 150.8 kB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/1.165, allocations: 117.9 kB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.165, allocations: 62.55 kB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008987/1.166, allocations: 0.6372 MB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.166, allocations: 0 / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001358/1.168, allocations: 0.5202 MB / 1.27 GB, free: 177.2 MB / 0.9981 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.001965/1.17, allocations: 0.6449 MB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007406/1.177, allocations: 2.167 MB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.177, allocations: 1.219 kB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003358/1.18, allocations: 1.057 MB / 1.274 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.183, allocations: 364.8 kB / 1.274 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/1.189, allocations: 3.726 MB / 1.278 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/1.19, allocations: 1.259 MB / 1.279 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002004/1.192, allocations: 405.1 kB / 1.28 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/1.192, allocations: 171.4 kB / 1.28 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.192, allocations: 0 / 1.28 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04044/1.233, allocations: 24.13 MB / 1.303 GB, free: 160.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (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 & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches