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.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 176.4 kB / 326.5 MB, free: 2.27 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.983/1.983, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009183/0.0009182, allocations: 107.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 16.86 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.38, allocations: 2.191 GB / 3.092 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/6.381, allocations: 93.66 kB / 3.092 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.145/6.526, allocations: 65.33 MB / 3.155 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.404e-06/6.526, allocations: 0 / 3.155 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.991e-05/6.526, allocations: 27.47 kB / 3.155 GB, free: 236.6 MB / 0.8855 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.002146/6.528, allocations: 1.214 MB / 3.157 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/6.528, allocations: 11.72 kB / 3.157 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/6.529, allocations: 196.2 kB / 3.157 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/6.53, allocations: 0.6311 MB / 3.157 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/6.53, allocations: 65.45 kB / 3.158 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/6.53, allocations: 71.44 kB / 3.158 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/6.531, allocations: 0.8688 MB / 3.158 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/6.531, allocations: 0 / 3.158 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/6.532, allocations: 36.81 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/6.532, allocations: 23.55 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/6.533, allocations: 1.086 MB / 3.16 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/6.537, allocations: 2.471 MB / 3.162 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/6.538, allocations: 0.7553 MB / 3.163 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/6.538, allocations: 113.1 kB / 3.163 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/6.539, allocations: 442.5 kB / 3.163 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.895e-06/6.539, allocations: 0 / 3.163 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002747/6.541, allocations: 1.16 MB / 3.164 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/6.541, allocations: 239.8 kB / 3.165 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/6.542, allocations: 0.6162 MB / 3.165 GB, free: 232 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/6.542, allocations: 45.14 kB / 3.165 GB, free: 232 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/6.542, allocations: 387.7 kB / 3.166 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/6.543, allocations: 243.9 kB / 3.166 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/6.543, allocations: 14.94 kB / 3.166 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.543, allocations: 386.5 kB / 3.166 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/6.543, allocations: 231.2 kB / 3.166 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/6.544, allocations: 348.7 kB / 3.167 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/6.544, allocations: 277.4 kB / 3.167 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/6.544, allocations: 0 / 3.167 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001499/6.546, allocations: 0.7583 MB / 3.168 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/6.546, allocations: 3.906 kB / 3.168 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/6.546, allocations: 7.969 kB / 3.168 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/6.546, allocations: 78.73 kB / 3.168 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/6.547, allocations: 143.2 kB / 3.168 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/6.548, allocations: 1.539 MB / 3.17 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/6.549, allocations: 81.56 kB / 3.17 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/6.549, allocations: 31.31 kB / 3.17 GB, free: 229.4 MB / 0.8855 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 () * Number of clocked 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.0005215/6.55, allocations: 258.2 kB / 3.17 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/6.55, allocations: 89.89 kB / 3.17 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/6.552, allocations: 1.033 MB / 3.171 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/6.552, allocations: 7.812 kB / 3.171 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/6.552, allocations: 0 / 3.171 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/6.552, allocations: 3.984 kB / 3.171 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/6.553, allocations: 0.9135 MB / 3.172 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/6.553, allocations: 0 / 3.172 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/6.553, allocations: 148.2 kB / 3.172 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/6.554, allocations: 79.92 kB / 3.172 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/6.554, allocations: 28.42 kB / 3.172 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/6.556, allocations: 1.576 MB / 3.174 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.556, allocations: 0 / 3.174 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/6.557, allocations: 0.8853 MB / 3.175 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/6.558, allocations: 286 kB / 3.175 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/6.558, allocations: 18.56 kB / 3.175 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/6.558, allocations: 77.39 kB / 3.175 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/6.558, allocations: 55.08 kB / 3.175 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/6.558, allocations: 34.03 kB / 3.175 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006148/6.559, allocations: 0.4931 MB / 3.175 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.559, allocations: 0 / 3.175 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001114/6.56, allocations: 333.8 kB / 3.176 GB, free: 226.3 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001928/6.562, allocations: 1.059 MB / 3.177 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001418/6.564, allocations: 0.7589 MB / 3.178 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/6.564, allocations: 0 / 3.178 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/6.564, allocations: 0.4987 MB / 3.178 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/6.565, allocations: 257 kB / 3.178 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/6.569, allocations: 2.18 MB / 3.18 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/6.57, allocations: 1.032 MB / 3.181 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008563/6.57, allocations: 266.2 kB / 3.182 GB, free: 223 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/6.571, allocations: 99.67 kB / 3.182 GB, free: 223 MB / 0.8855 GB Notification: Performance of SimCode: time 1.223e-06/6.571, allocations: 0 / 3.182 GB, free: 223 MB / 0.8855 GB Notification: Performance of Templates: time 0.02994/6.601, allocations: 20.78 MB / 3.202 GB, free: 212.6 MB / 0.8855 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