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.45/1.45, allocations: 249.3 MB / 261.8 MB, free: 5.707 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.001017/0.001018, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009325/0.0009325, allocations: 78.55 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.461e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3001, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.357/6.657, allocations: 2.191 GB / 3.083 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/6.658, allocations: 96.23 kB / 3.083 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.141/6.799, allocations: 65 MB / 3.147 GB, free: 76.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/6.799, allocations: 7.938 kB / 3.147 GB, free: 76.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001186/6.799, allocations: 27.94 kB / 3.147 GB, free: 76.54 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.002469/6.801, allocations: 1.086 MB / 3.148 GB, free: 75.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/6.801, allocations: 8.031 kB / 3.148 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/6.802, allocations: 198.4 kB / 3.148 GB, free: 75.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/6.804, allocations: 0.6316 MB / 3.149 GB, free: 74.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/6.804, allocations: 58 kB / 3.149 GB, free: 74.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/6.804, allocations: 76 kB / 3.149 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/6.805, allocations: 0.8288 MB / 3.15 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/6.805, allocations: 7.875 kB / 3.15 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/6.806, allocations: 36 kB / 3.15 GB, free: 73.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/6.806, allocations: 23.95 kB / 3.15 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/6.807, allocations: 1.026 MB / 3.151 GB, free: 72.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/6.811, allocations: 2.473 MB / 3.153 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/6.812, allocations: 0.6997 MB / 3.154 GB, free: 69.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/6.812, allocations: 275.1 kB / 3.154 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/6.812, allocations: 117.9 kB / 3.154 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/6.813, allocations: 422.5 kB / 3.155 GB, free: 68.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.557e-06/6.813, allocations: 0 / 3.155 GB, free: 68.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00158/6.815, allocations: 0.7147 MB / 3.155 GB, free: 67.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/6.815, allocations: 244.1 kB / 3.155 GB, free: 67.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/6.816, allocations: 0.6053 MB / 3.156 GB, free: 66.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/6.816, allocations: 37.7 kB / 3.156 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/6.816, allocations: 396.4 kB / 3.157 GB, free: 66.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/6.816, allocations: 244.4 kB / 3.157 GB, free: 66.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/6.816, allocations: 16 kB / 3.157 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/6.816, allocations: 382.8 kB / 3.157 GB, free: 65.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/6.817, allocations: 205.5 kB / 3.157 GB, free: 65.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/6.817, allocations: 309.1 kB / 3.158 GB, free: 65.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/6.817, allocations: 262 kB / 3.158 GB, free: 64.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/6.817, allocations: 0 / 3.158 GB, free: 64.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001394/6.819, allocations: 0.707 MB / 3.159 GB, free: 64.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/6.819, allocations: 4 kB / 3.159 GB, free: 64.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/6.819, allocations: 3.984 kB / 3.159 GB, free: 64.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/6.819, allocations: 88.78 kB / 3.159 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/6.82, allocations: 139.8 kB / 3.159 GB, free: 63.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/6.822, allocations: 1.529 MB / 3.16 GB, free: 62.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/6.822, allocations: 83.42 kB / 3.16 GB, free: 62.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/6.822, allocations: 23.98 kB / 3.16 GB, free: 62.12 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.0001717/6.823, allocations: 150.6 kB / 3.161 GB, free: 61.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/6.823, allocations: 86.92 kB / 3.161 GB, free: 61.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/6.825, allocations: 0.9659 MB / 3.162 GB, free: 60.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/6.825, allocations: 15.94 kB / 3.162 GB, free: 60.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/6.825, allocations: 0 / 3.162 GB, free: 60.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/6.825, allocations: 7.984 kB / 3.162 GB, free: 60.87 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/6.826, allocations: 0.8916 MB / 3.162 GB, free: 59.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/6.826, allocations: 0 / 3.162 GB, free: 59.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/6.826, allocations: 159.8 kB / 3.163 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/6.827, allocations: 80.78 kB / 3.163 GB, free: 59.69 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/6.827, allocations: 23.98 kB / 3.163 GB, free: 59.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/6.828, allocations: 1.563 MB / 3.164 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/6.828, allocations: 0 / 3.164 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/6.83, allocations: 0.8167 MB / 3.165 GB, free: 57.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/6.83, allocations: 287.7 kB / 3.165 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/6.831, allocations: 20 kB / 3.165 GB, free: 56.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/6.831, allocations: 71.89 kB / 3.165 GB, free: 56.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/6.831, allocations: 56.7 kB / 3.165 GB, free: 56.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/6.831, allocations: 35.97 kB / 3.165 GB, free: 56.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006383/6.832, allocations: 495.1 kB / 3.166 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.832, allocations: 4 kB / 3.166 GB, free: 56.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001135/6.833, allocations: 339.1 kB / 3.166 GB, free: 55.83 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.002079/6.835, allocations: 1.028 MB / 3.167 GB, free: 54.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001322/6.837, allocations: 0.698 MB / 3.168 GB, free: 54.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/6.837, allocations: 4.125 kB / 3.168 GB, free: 54.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/6.837, allocations: 471 kB / 3.168 GB, free: 53.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/6.838, allocations: 247.7 kB / 3.169 GB, free: 53.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/6.842, allocations: 1.379 MB / 3.17 GB, free: 52.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/6.842, allocations: 1.043 MB / 3.171 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009123/6.843, allocations: 254 kB / 3.171 GB, free: 50.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/6.844, allocations: 91.39 kB / 3.171 GB, free: 50.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.143e-06/6.844, allocations: 0 / 3.171 GB, free: 50.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.0322/6.876, allocations: 22.6 MB / 3.193 GB, free: 28.11 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