Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.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_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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.639/2.639, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001373/0.001373, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009177/0.0009175, allocations: 92 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.573e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3312, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.376/5.708, allocations: 1.733 GB / 2.952 GB, free: 80.91 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/5.708, allocations: 91.94 kB / 2.952 GB, free: 80.82 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1492/5.857, allocations: 66.34 MB / 3.017 GB, free: 14.16 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/5.857, allocations: 0 / 3.017 GB, free: 14.16 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001433/5.857, allocations: 28 kB / 3.017 GB, free: 14.14 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.002954/5.86, allocations: 1.121 MB / 3.018 GB, free: 12.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/5.86, allocations: 12.03 kB / 3.018 GB, free: 12.96 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/5.862, allocations: 186.5 kB / 3.018 GB, free: 12.77 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/5.864, allocations: 0.6394 MB / 3.019 GB, free: 12.09 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.679e-05/5.864, allocations: 58 kB / 3.019 GB, free: 12.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/5.864, allocations: 76 kB / 3.019 GB, free: 11.96 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/5.866, allocations: 0.8405 MB / 3.02 GB, free: 11.08 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/5.866, allocations: 0 / 3.02 GB, free: 11.08 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/5.866, allocations: 39.95 kB / 3.02 GB, free: 11.04 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/5.866, allocations: 20 kB / 3.02 GB, free: 11.02 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/5.867, allocations: 1.03 MB / 3.021 GB, free: 9.988 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/5.871, allocations: 2.512 MB / 3.023 GB, free: 7.402 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/5.872, allocations: 0.7096 MB / 3.024 GB, free: 6.68 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/5.872, allocations: 267.2 kB / 3.024 GB, free: 6.414 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/5.873, allocations: 117.9 kB / 3.024 GB, free: 6.281 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006039/5.873, allocations: 433.3 kB / 3.025 GB, free: 5.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/5.873, allocations: 0 / 3.025 GB, free: 5.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001556/5.875, allocations: 0.6993 MB / 3.025 GB, free: 5.133 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/5.875, allocations: 244 kB / 3.026 GB, free: 4.836 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/5.876, allocations: 0.6248 MB / 3.026 GB, free: 4.211 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/5.876, allocations: 37.7 kB / 3.026 GB, free: 4.168 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/5.876, allocations: 400.4 kB / 3.027 GB, free: 3.77 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/5.876, allocations: 244.4 kB / 3.027 GB, free: 3.527 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/5.876, allocations: 16 kB / 3.027 GB, free: 3.512 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001256/5.876, allocations: 386.8 kB / 3.027 GB, free: 3.125 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/5.877, allocations: 205.5 kB / 3.027 GB, free: 2.926 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/5.877, allocations: 313.1 kB / 3.028 GB, free: 2.59 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/5.877, allocations: 258 kB / 3.028 GB, free: 2.34 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/5.877, allocations: 0 / 3.028 GB, free: 2.34 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001324/5.879, allocations: 0.7108 MB / 3.029 GB, free: 1.617 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/5.879, allocations: 4 kB / 3.029 GB, free: 1.613 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/5.879, allocations: 4 kB / 3.029 GB, free: 1.609 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/5.879, allocations: 84.83 kB / 3.029 GB, free: 1.523 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/5.88, allocations: 135.8 kB / 3.029 GB, free: 1.391 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8677/6.748, allocations: 1.522 MB / 3.03 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/6.749, allocations: 86.88 kB / 3.031 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/6.75, allocations: 26.88 kB / 3.031 GB, free: 398.6 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 () * 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.0005273/6.75, allocations: 147.7 kB / 3.031 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/6.751, allocations: 81.38 kB / 3.031 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/6.755, allocations: 0.9763 MB / 3.032 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/6.755, allocations: 13.8 kB / 3.032 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/6.755, allocations: 2.062 kB / 3.032 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/6.755, allocations: 5.312 kB / 3.032 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/6.758, allocations: 0.8981 MB / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/6.758, allocations: 0 / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/6.758, allocations: 148.8 kB / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/6.759, allocations: 90.73 kB / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/6.759, allocations: 21.92 kB / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/6.762, allocations: 1.553 MB / 3.034 GB, free: 397 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/6.762, allocations: 0.6562 kB / 3.034 GB, free: 397 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/6.764, allocations: 0.8259 MB / 3.035 GB, free: 396.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/6.765, allocations: 290.4 kB / 3.035 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/6.766, allocations: 18.14 kB / 3.035 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/6.766, allocations: 70.89 kB / 3.036 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/6.767, allocations: 60.58 kB / 3.036 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/6.767, allocations: 34.22 kB / 3.036 GB, free: 396.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001381/6.768, allocations: 0.4993 MB / 3.036 GB, free: 396.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/6.768, allocations: 0 / 3.036 GB, free: 396.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002127/6.77, allocations: 368.7 kB / 3.036 GB, free: 396.6 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) * 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.003642/6.774, allocations: 1.072 MB / 3.038 GB, free: 396.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002336/6.776, allocations: 0.6933 MB / 3.038 GB, free: 396.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/6.776, allocations: 0.9062 kB / 3.038 GB, free: 396.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/6.778, allocations: 478.3 kB / 3.039 GB, free: 396.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/6.779, allocations: 256.7 kB / 3.039 GB, free: 396.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/6.785, allocations: 1.384 MB / 3.04 GB, free: 395.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/6.786, allocations: 1.036 MB / 3.041 GB, free: 395.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001275/6.787, allocations: 257.9 kB / 3.042 GB, free: 395.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/6.788, allocations: 96.28 kB / 3.042 GB, free: 395.1 MB / 1.167 GB Notification: Performance of SimCode: time 6.11e-07/6.788, allocations: 1.031 kB / 3.042 GB, free: 395.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06334/6.851, allocations: 22.98 MB / 3.064 GB, free: 393.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches