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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.434/2.434, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.9 kB / 0.4902 GB, free: 2.266 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 101.9 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003884, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.649, allocations: 1.738 GB / 2.967 GB, free: 248.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/4.649, allocations: 91.95 kB / 2.967 GB, free: 248.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1712/4.82, allocations: 77.76 MB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/4.82, allocations: 0 / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.366e-05/4.82, allocations: 40 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003629/4.824, allocations: 1.616 MB / 3.045 GB, free: 168.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/4.824, allocations: 12.56 kB / 3.045 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/4.83, allocations: 0.7667 MB / 3.046 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/4.832, allocations: 0.8612 MB / 3.046 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/4.832, allocations: 94.59 kB / 3.047 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/4.832, allocations: 124 kB / 3.047 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/4.836, allocations: 1.747 MB / 3.048 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/4.836, allocations: 7.984 kB / 3.048 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/4.837, allocations: 56 kB / 3.048 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/4.837, allocations: 39.88 kB / 3.048 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005154/4.842, allocations: 2.289 MB / 3.051 GB, free: 162.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/4.85, allocations: 4.512 MB / 3.055 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/4.854, allocations: 1.555 MB / 3.057 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/4.854, allocations: 486.6 kB / 3.057 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/4.856, allocations: 0.9493 MB / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=124): time 3.556e-06/4.856, allocations: 0 / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=124): time 0.006607/4.863, allocations: 2.392 MB / 3.06 GB, free: 152.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/4.863, allocations: 244.3 kB / 3.061 GB, free: 151.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/4.864, allocations: 0.7467 MB / 3.061 GB, free: 151 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/4.864, allocations: 45.7 kB / 3.061 GB, free: 151 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/4.865, allocations: 0.5121 MB / 3.062 GB, free: 150.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/4.865, allocations: 413.9 kB / 3.062 GB, free: 150.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/4.865, allocations: 24 kB / 3.062 GB, free: 150 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/4.865, allocations: 345.9 kB / 3.063 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/4.867, allocations: 0.6194 MB / 3.063 GB, free: 149.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/4.868, allocations: 0.7542 MB / 3.064 GB, free: 148.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/4.87, allocations: 0.674 MB / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/4.87, allocations: 0 / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004317/4.874, allocations: 1.652 MB / 3.066 GB, free: 145.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/4.874, allocations: 4 kB / 3.066 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/4.874, allocations: 0 / 3.066 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/4.875, allocations: 84.84 kB / 3.066 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/4.877, allocations: 307.5 kB / 3.067 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/4.879, allocations: 1.549 MB / 3.068 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/4.88, allocations: 194.8 kB / 3.068 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/4.88, allocations: 51.95 kB / 3.068 GB, free: 143.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.pumCon.hys.y,pumCon.hys.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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.0008513/4.881, allocations: 334.4 kB / 3.069 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/4.882, allocations: 114.6 kB / 3.069 GB, free: 143.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/4.887, allocations: 2.051 MB / 3.071 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/4.887, allocations: 15.95 kB / 3.071 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/4.887, allocations: 3.984 kB / 3.071 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/4.887, allocations: 7.984 kB / 3.071 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0068/4.894, allocations: 3.729 MB / 3.074 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/4.894, allocations: 7.922 kB / 3.074 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/4.895, allocations: 303.6 kB / 3.075 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/4.896, allocations: 84.73 kB / 3.075 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/4.896, allocations: 43.95 kB / 3.075 GB, free: 136.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/4.898, allocations: 1.579 MB / 3.076 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/4.898, allocations: 0 / 3.076 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/4.903, allocations: 1.805 MB / 3.078 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/4.904, allocations: 427.1 kB / 3.079 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/4.904, allocations: 31.98 kB / 3.079 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/4.906, allocations: 139.9 kB / 3.079 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/4.906, allocations: 97.17 kB / 3.079 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/4.906, allocations: 51.95 kB / 3.079 GB, free: 132.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001061/4.907, allocations: 0.62 MB / 3.08 GB, free: 131.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.12e-07/4.907, allocations: 0 / 3.08 GB, free: 131.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002117/4.909, allocations: 0.4949 MB / 3.08 GB, free: 131.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.002834/4.912, allocations: 1.147 MB / 3.081 GB, free: 130.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004283/4.916, allocations: 1.654 MB / 3.083 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/4.916, allocations: 0 / 3.083 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/4.919, allocations: 0.9744 MB / 3.084 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/4.92, allocations: 285 kB / 3.084 GB, free: 127.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/4.927, allocations: 3.306 MB / 3.087 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/4.928, allocations: 1.191 MB / 3.088 GB, free: 123 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002079/4.93, allocations: 376.7 kB / 3.089 GB, free: 122.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/4.931, allocations: 147.3 kB / 3.089 GB, free: 122.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.353e-06/4.931, allocations: 0 / 3.089 GB, free: 122.5 MB / 1.167 GB Notification: Performance of Templates: time 0.04313/4.974, allocations: 27.5 MB / 3.116 GB, free: 95.11 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches