Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_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.00811/0.00811, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001456/0.001456, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.05 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2847, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005991/0.2908, allocations: 4.685 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.4553, allocations: 151 MB / 1.24 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4564, allocations: 19.88 kB / 1.24 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.4572, allocations: 218.1 kB / 1.24 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.4592, allocations: 0.5777 MB / 1.241 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4613, allocations: 0.8432 MB / 1.242 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.4628, allocations: 1.363 MB / 1.243 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.4637, allocations: 0.6418 MB / 1.244 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.4643, allocations: 498.2 kB / 1.244 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.4649, allocations: 0.5056 MB / 1.244 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.465, allocations: 124 kB / 1.245 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.466, allocations: 0.5034 MB / 1.245 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.4662, allocations: 311 kB / 1.245 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.4668, allocations: 0.5634 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.4688, allocations: 1.705 MB / 1.248 GB, free: 13.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4688, allocations: 4 kB / 1.248 GB, free: 13.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4688, allocations: 0 / 1.248 GB, free: 13.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.4688, allocations: 0 / 1.248 GB, free: 13.35 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002759/0.4716, allocations: 1.496 MB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4717, allocations: 8.031 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009735/0.4726, allocations: 187.3 kB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4739, allocations: 0.8012 MB / 1.25 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.474, allocations: 66 kB / 1.25 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4741, allocations: 84 kB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.4758, allocations: 0.9418 MB / 1.251 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4758, allocations: 0 / 1.251 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.4759, allocations: 39.92 kB / 1.251 GB, free: 9.598 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.4759, allocations: 20 kB / 1.251 GB, free: 9.578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.4778, allocations: 1.136 MB / 1.252 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.4817, allocations: 2.55 MB / 1.255 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4833, allocations: 0.8364 MB / 1.256 GB, free: 4.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.4839, allocations: 318.7 kB / 1.256 GB, free: 4.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.4841, allocations: 117.7 kB / 1.256 GB, free: 4.535 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008996/0.485, allocations: 0.5029 MB / 1.256 GB, free: 4.016 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.485, allocations: 0 / 1.256 GB, free: 4.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003331/0.4883, allocations: 1.252 MB / 1.258 GB, free: 2.734 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4884, allocations: 196.6 kB / 1.258 GB, free: 2.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.4893, allocations: 0.6841 MB / 1.259 GB, free: 1.812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.4894, allocations: 45.7 kB / 1.259 GB, free: 1.762 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.4897, allocations: 424.4 kB / 1.259 GB, free: 1.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.4899, allocations: 260.2 kB / 1.259 GB, free: 1.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.4901, allocations: 166.5 kB / 1.259 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4903, allocations: 390.8 kB / 1.26 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.4908, allocations: 281.8 kB / 1.26 GB, free: 256 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6368/1.128, allocations: 372.8 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/1.129, allocations: 0.6353 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.129, allocations: 0.7812 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002422/1.132, allocations: 0.8829 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/1.132, allocations: 10.02 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.132, allocations: 0.8125 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/1.132, allocations: 84.41 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/1.133, allocations: 164.3 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.135, allocations: 1.645 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/1.136, allocations: 97.28 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/1.136, allocations: 37.84 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006533/1.137, allocations: 283 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.137, allocations: 89.3 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/1.14, allocations: 1.097 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.14, allocations: 12.47 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.14, allocations: 3.938 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.14, allocations: 4.922 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.142, allocations: 0.9483 MB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.142, allocations: 0.5625 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/1.143, allocations: 147.6 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005525/1.143, allocations: 77.11 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/1.143, allocations: 27.56 kB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.145, allocations: 1.671 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.145, allocations: 0 / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/1.148, allocations: 0.9702 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/1.148, allocations: 285.3 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.148, allocations: 18.5 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/1.149, allocations: 63.62 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.149, allocations: 75.27 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/1.149, allocations: 41.66 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007318/1.15, allocations: 489.7 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.31e-07/1.15, allocations: 0 / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001114/1.151, allocations: 328 kB / 1.27 GB, free: 168.5 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001467/1.153, allocations: 0.6111 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.155, allocations: 0.8597 MB / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.155, allocations: 4.906 kB / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.156, allocations: 0.5246 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.158, allocations: 307.1 kB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.163, allocations: 1.87 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/1.164, allocations: 1.044 MB / 1.275 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001009/1.165, allocations: 269.9 kB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.165, allocations: 109.4 kB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.823e-06/1.165, allocations: 0 / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of Templates: time 0.03082/1.196, allocations: 15.56 MB / 1.291 GB, free: 162.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches