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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00164/0.00164, allocations: 181.8 kB / 498.1 MB, free: 5.742 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.727/1.727, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.001324/0.001324, allocations: 100.3 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 7.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.098/5.452, allocations: 1.732 GB / 2.955 GB, free: 286.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/5.452, allocations: 93.03 kB / 2.955 GB, free: 286.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1404/5.593, allocations: 66.21 MB / 3.02 GB, free: 220.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.815e-06/5.593, allocations: 0 / 3.02 GB, free: 220.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001286/5.593, allocations: 24 kB / 3.02 GB, free: 220.2 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.003265/5.596, allocations: 1.239 MB / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/5.596, allocations: 8.031 kB / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/5.597, allocations: 194.5 kB / 3.021 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/5.599, allocations: 0.6393 MB / 3.022 GB, free: 218.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/5.599, allocations: 66 kB / 3.022 GB, free: 218 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/5.599, allocations: 76 kB / 3.022 GB, free: 217.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/5.601, allocations: 0.8792 MB / 3.023 GB, free: 217 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/5.601, allocations: 7.938 kB / 3.023 GB, free: 217 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/5.601, allocations: 39.95 kB / 3.023 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/5.601, allocations: 20 kB / 3.023 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/5.603, allocations: 1.093 MB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/5.607, allocations: 2.5 MB / 3.027 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/5.608, allocations: 0.762 MB / 3.027 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/5.609, allocations: 109.8 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007422/5.609, allocations: 451.4 kB / 3.028 GB, free: 211.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.987e-06/5.609, allocations: 0 / 3.028 GB, free: 211.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002979/5.612, allocations: 1.151 MB / 3.029 GB, free: 210.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/5.613, allocations: 240 kB / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/5.613, allocations: 0.6326 MB / 3.03 GB, free: 209.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/5.614, allocations: 37.7 kB / 3.03 GB, free: 209.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/5.614, allocations: 400.3 kB / 3.03 GB, free: 209.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/5.614, allocations: 240.5 kB / 3.031 GB, free: 209.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/5.614, allocations: 8 kB / 3.031 GB, free: 209.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001345/5.614, allocations: 394.7 kB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/5.615, allocations: 229.2 kB / 3.031 GB, free: 208.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/5.615, allocations: 347.6 kB / 3.031 GB, free: 208.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/5.616, allocations: 279.1 kB / 3.032 GB, free: 207.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.616, allocations: 0 / 3.032 GB, free: 207.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001702/5.617, allocations: 0.7626 MB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/5.618, allocations: 7.938 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/5.618, allocations: 0 / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/5.618, allocations: 88.83 kB / 3.033 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/5.619, allocations: 139.8 kB / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/5.621, allocations: 1.54 MB / 3.034 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/5.622, allocations: 87.5 kB / 3.034 GB, free: 205.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/5.622, allocations: 27.97 kB / 3.034 GB, free: 205.1 MB / 1.167 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.0005806/5.622, allocations: 262.4 kB / 3.035 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/5.622, allocations: 79.06 kB / 3.035 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/5.625, allocations: 1.03 MB / 3.036 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/5.625, allocations: 11.94 kB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.625, allocations: 3.953 kB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/5.625, allocations: 3.984 kB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/5.626, allocations: 0.9152 MB / 3.037 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/5.626, allocations: 4 kB / 3.037 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/5.626, allocations: 147.8 kB / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/5.627, allocations: 80.78 kB / 3.037 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/5.627, allocations: 23.98 kB / 3.037 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/5.629, allocations: 1.575 MB / 3.038 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/5.629, allocations: 3.938 kB / 3.038 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/5.63, allocations: 0.881 MB / 3.039 GB, free: 199.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/5.631, allocations: 295.7 kB / 3.04 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/5.631, allocations: 16 kB / 3.04 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/5.632, allocations: 67.94 kB / 3.04 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/5.632, allocations: 60.86 kB / 3.04 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/5.632, allocations: 31.98 kB / 3.04 GB, free: 199.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006988/5.633, allocations: 0.5068 MB / 3.04 GB, free: 198.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.633, allocations: 0 / 3.04 GB, free: 198.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00134/5.634, allocations: 375 kB / 3.041 GB, free: 198.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: 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.00275/5.637, allocations: 1.104 MB / 3.042 GB, free: 197.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001587/5.638, allocations: 0.7512 MB / 3.042 GB, free: 196.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/5.638, allocations: 0 / 3.042 GB, free: 196.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000852/5.639, allocations: 0.4965 MB / 3.043 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/5.64, allocations: 253.9 kB / 3.043 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/5.645, allocations: 2.2 MB / 3.045 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/5.646, allocations: 1.039 MB / 3.046 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009349/5.646, allocations: 254.2 kB / 3.046 GB, free: 192.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/5.647, allocations: 99.33 kB / 3.047 GB, free: 192.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/5.647, allocations: 3.938 kB / 3.047 GB, free: 192.4 MB / 1.167 GB Notification: Performance of Templates: time 0.03422/5.681, allocations: 21.17 MB / 3.067 GB, free: 171.3 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches