Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.001028/0.001028, allocations: 180.9 kB / 321.3 MB, free: 14.66 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.568/1.568, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001045/0.001045, allocations: 90.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.569e-05, allocations: 8 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7444/0.9575, allocations: 135.4 MB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.9578, allocations: 87.5 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.9708, allocations: 5.498 MB / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9708, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.9709, allocations: 7.938 kB / 1.03 GB, free: 10.63 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007552/0.9716, allocations: 0.5348 MB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.9717, allocations: 12.03 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.9718, allocations: 35.53 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.9722, allocations: 311.1 kB / 1.03 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.9722, allocations: 23.56 kB / 1.03 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.9723, allocations: 26.97 kB / 1.03 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.9727, allocations: 276.9 kB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9727, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.9728, allocations: 7 kB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.9728, allocations: 8 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.9731, allocations: 184.4 kB / 1.031 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.9745, allocations: 1.125 MB / 1.032 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.975, allocations: 218.6 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.9751, allocations: 99.69 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.9752, allocations: 7.984 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.9752, allocations: 42.06 kB / 1.032 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.9752, allocations: 0 / 1.032 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0003591/0.9756, allocations: 189.5 kB / 1.033 GB, free: 8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.9756, allocations: 81.11 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.9759, allocations: 259.3 kB / 1.033 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.976, allocations: 32.83 kB / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.9761, allocations: 172.3 kB / 1.033 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.9761, allocations: 62.8 kB / 1.033 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.9762, allocations: 7 kB / 1.033 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9763, allocations: 338.4 kB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.9764, allocations: 65.41 kB / 1.034 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.9765, allocations: 95.73 kB / 1.034 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.9767, allocations: 71.98 kB / 1.034 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9767, allocations: 4.031 kB / 1.034 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003113/0.977, allocations: 222.9 kB / 1.034 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.9771, allocations: 177.3 kB / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9771, allocations: 0 / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9771, allocations: 4 kB / 1.034 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.9774, allocations: 48 kB / 1.034 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.9774, allocations: 7.953 kB / 1.034 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.9776, allocations: 38.88 kB / 1.034 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.9776, allocations: 4 kB / 1.034 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.9776, allocations: 7.938 kB / 1.034 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000247/0.9779, allocations: 153 kB / 1.034 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.9779, allocations: 4 kB / 1.034 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.9779, allocations: 0 / 1.034 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.9781, allocations: 51.28 kB / 1.034 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.9781, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.9782, allocations: 39.17 kB / 1.034 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.9783, allocations: 4 kB / 1.034 GB, free: 6.344 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.9783, allocations: 123.4 kB / 1.035 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.9784, allocations: 27.62 kB / 1.035 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.9788, allocations: 214.7 kB / 1.035 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.9788, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9788, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.9788, allocations: 3.984 kB / 1.035 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.9796, allocations: 0.6367 MB / 1.035 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9796, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.9799, allocations: 51.91 kB / 1.035 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.9799, allocations: 3.953 kB / 1.035 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.9799, allocations: 11.48 kB / 1.035 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.9799, allocations: 0 / 1.035 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.9799, allocations: 4 kB / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.9804, allocations: 404.9 kB / 1.036 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.9805, allocations: 108.1 kB / 1.036 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.9806, allocations: 10.98 kB / 1.036 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.9808, allocations: 27.42 kB / 1.036 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.9809, allocations: 19.41 kB / 1.036 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.9809, allocations: 4 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002156/0.9811, allocations: 212.3 kB / 1.036 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9811, allocations: 0 / 1.036 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000369/0.9815, allocations: 93.81 kB / 1.036 GB, free: 4.684 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.9817, allocations: 111.1 kB / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.9821, allocations: 254.2 kB / 1.037 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9821, allocations: 0 / 1.037 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.9822, allocations: 83.5 kB / 1.037 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.9826, allocations: 56.08 kB / 1.037 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.9833, allocations: 350.3 kB / 1.037 GB, free: 4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.9836, allocations: 0.7764 MB / 1.038 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000198/0.9838, allocations: 51 kB / 1.038 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.9839, allocations: 19.44 kB / 1.038 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/0.9839, allocations: 7.938 kB / 1.038 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of Templates: time 0.006131/0.99, allocations: 2.929 MB / 1.041 GB, free: 248 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches