Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001173, allocations: 187.7 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 90.94 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.491e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2563, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.294/6.551, allocations: 2.192 GB / 3.077 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/6.551, allocations: 88.14 kB / 3.077 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1291/6.68, allocations: 63.31 MB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.843e-06/6.68, allocations: 0 / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.428e-05/6.68, allocations: 20 kB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001657/6.682, allocations: 1.09 MB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/6.682, allocations: 8.031 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/6.683, allocations: 194.5 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/6.684, allocations: 0.6238 MB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/6.684, allocations: 28 kB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/6.684, allocations: 47.94 kB / 3.141 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/6.685, allocations: 0.9835 MB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/6.686, allocations: 0.7193 MB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/6.686, allocations: 4 kB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/6.686, allocations: 3.953 kB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/6.686, allocations: 20 kB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/6.689, allocations: 2.329 MB / 3.145 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/6.69, allocations: 0.6571 MB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/6.69, allocations: 251.1 kB / 3.146 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/6.69, allocations: 117.9 kB / 3.146 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/6.691, allocations: 395.8 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/6.691, allocations: 0 / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00153/6.692, allocations: 0.6808 MB / 3.147 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/6.693, allocations: 244.1 kB / 3.147 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/6.693, allocations: 0.5386 MB / 3.148 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/6.693, allocations: 25.7 kB / 3.148 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/6.693, allocations: 400.2 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/6.693, allocations: 232.4 kB / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/6.694, allocations: 4 kB / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/6.694, allocations: 382.8 kB / 3.149 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/6.694, allocations: 189.5 kB / 3.149 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/6.694, allocations: 295.5 kB / 3.149 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/6.695, allocations: 256.4 kB / 3.149 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/6.695, allocations: 0 / 3.149 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001275/6.696, allocations: 0.6681 MB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/6.696, allocations: 11.95 kB / 3.15 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/6.696, allocations: 3.938 kB / 3.15 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/6.696, allocations: 84.83 kB / 3.15 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/6.697, allocations: 139.8 kB / 3.15 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/6.698, allocations: 1.473 MB / 3.152 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/6.699, allocations: 63.52 kB / 3.152 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/6.699, allocations: 23.98 kB / 3.152 GB, free: 103.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/6.699, allocations: 120.9 kB / 3.152 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/6.699, allocations: 75.06 kB / 3.152 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/6.701, allocations: 0.9189 MB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/6.701, allocations: 8 kB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/6.701, allocations: 7.984 kB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/6.701, allocations: 3.984 kB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/6.702, allocations: 0.7865 MB / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.702, allocations: 0 / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/6.702, allocations: 143.8 kB / 3.154 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/6.703, allocations: 84.77 kB / 3.154 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/6.703, allocations: 15.98 kB / 3.154 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/6.704, allocations: 1.496 MB / 3.155 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/6.704, allocations: 0 / 3.155 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/6.706, allocations: 0.7854 MB / 3.156 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/6.706, allocations: 283.7 kB / 3.156 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/6.706, allocations: 0 / 3.156 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/6.707, allocations: 60 kB / 3.156 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/6.707, allocations: 64.69 kB / 3.156 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/6.707, allocations: 31.98 kB / 3.156 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004484/6.707, allocations: 435.1 kB / 3.157 GB, free: 97.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.707, allocations: 0 / 3.157 GB, free: 97.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009645/6.708, allocations: 311.1 kB / 3.157 GB, free: 97.52 MB / 0.8698 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00167/6.71, allocations: 1.075 MB / 3.158 GB, free: 96.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001023/6.711, allocations: 0.6552 MB / 3.159 GB, free: 95.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/6.711, allocations: 0 / 3.159 GB, free: 95.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/6.711, allocations: 448.6 kB / 3.159 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/6.713, allocations: 229.6 kB / 3.159 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/6.716, allocations: 1.325 MB / 3.161 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/6.716, allocations: 1.039 MB / 3.162 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007476/6.717, allocations: 253.7 kB / 3.162 GB, free: 92.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/6.717, allocations: 99.31 kB / 3.162 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/6.717, allocations: 0 / 3.162 GB, free: 92.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.02177/6.739, allocations: 15.77 MB / 3.178 GB, free: 76.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches