Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001153/0.001153, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.634/1.634, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008642/0.0008643, allocations: 91.95 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.756e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3409, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.492, allocations: 152.5 MB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.493, allocations: 86.59 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01162/1.504, allocations: 4.478 MB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.504, allocations: 0 / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.857e-05/1.504, allocations: 7.938 kB / 1.372 GB, free: 13.68 MB / 0.8386 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.000804/1.505, allocations: 0.5348 MB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.505, allocations: 8.031 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/1.505, allocations: 31.62 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/1.506, allocations: 292.4 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.506, allocations: 18.75 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/1.506, allocations: 26.56 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/1.506, allocations: 265.7 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.506, allocations: 0 / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.506, allocations: 10.56 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.506, allocations: 8 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/1.507, allocations: 173.9 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/1.508, allocations: 0.9488 MB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/1.509, allocations: 283.7 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/1.509, allocations: 97.34 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.509, allocations: 0 / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/1.509, allocations: 140.9 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/1.509, allocations: 0 / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003631/1.509, allocations: 176.4 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/1.51, allocations: 114.8 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/1.51, allocations: 250.7 kB / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/1.51, allocations: 28.95 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.51, allocations: 171.3 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/1.51, allocations: 65.66 kB / 1.376 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/1.51, allocations: 0 / 1.376 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.51, allocations: 341.4 kB / 1.376 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/1.51, allocations: 56.81 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/1.511, allocations: 100.1 kB / 1.376 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/1.511, allocations: 62.08 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.511, allocations: 224 / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003246/1.511, allocations: 200.5 kB / 1.376 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.511, allocations: 189.4 kB / 1.377 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.511, allocations: 0 / 1.377 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.511, allocations: 4 kB / 1.377 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.511, allocations: 46.84 kB / 1.377 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.511, allocations: 7.938 kB / 1.377 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/1.512, allocations: 47.47 kB / 1.377 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.512, allocations: 8 kB / 1.377 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/1.512, allocations: 0 / 1.377 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002402/1.512, allocations: 140.4 kB / 1.377 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/1.512, allocations: 4 kB / 1.377 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/1.512, allocations: 0 / 1.377 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.512, allocations: 55.88 kB / 1.377 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.512, allocations: 4 kB / 1.377 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/1.512, allocations: 35.56 kB / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/1.512, allocations: 4 kB / 1.377 GB, free: 9.438 MB / 0.8386 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001025/1.512, allocations: 118.8 kB / 1.377 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/1.512, allocations: 23.72 kB / 1.377 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/1.513, allocations: 208.3 kB / 1.377 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.513, allocations: 0 / 1.377 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.513, allocations: 0 / 1.377 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.513, allocations: 3.984 kB / 1.377 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008039/1.514, allocations: 0.646 MB / 1.378 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.514, allocations: 4 kB / 1.378 GB, free: 8.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/1.514, allocations: 55.38 kB / 1.378 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.514, allocations: 0 / 1.378 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.514, allocations: 7.312 kB / 1.378 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.514, allocations: 0 / 1.378 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.514, allocations: 0 / 1.378 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/1.515, allocations: 400.9 kB / 1.378 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.515, allocations: 100.6 kB / 1.378 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/1.515, allocations: 11.5 kB / 1.378 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.515, allocations: 31.28 kB / 1.378 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/1.515, allocations: 10.3 kB / 1.378 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/1.515, allocations: 4 kB / 1.379 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002216/1.515, allocations: 213.2 kB / 1.379 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.174e-06/1.515, allocations: 0 / 1.379 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003781/1.516, allocations: 88.94 kB / 1.379 GB, free: 7.801 MB / 0.8386 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: 1 ($whenCondition1) * 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.0001902/1.516, allocations: 111.1 kB / 1.379 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004189/1.516, allocations: 235.3 kB / 1.379 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.516, allocations: 0 / 1.379 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/1.516, allocations: 76.12 kB / 1.379 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/1.517, allocations: 44.95 kB / 1.379 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/1.517, allocations: 341.3 kB / 1.38 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/1.518, allocations: 0.7687 MB / 1.38 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001831/1.518, allocations: 43.08 kB / 1.38 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/1.518, allocations: 23.38 kB / 1.38 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.518, allocations: 0 / 1.38 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of Templates: time 0.006661/1.525, allocations: 2.698 MB / 1.383 GB, free: 3.621 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches