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.574/2.574, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001412/0.001412, allocations: 191.8 kB / 0.4902 GB, free: 2.223 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.796/1.796, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.00117/0.00117, allocations: 121.6 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005388/0.0005386, allocations: 10.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4374, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.6607, allocations: 152.6 MB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6611, allocations: 87.94 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.6742, allocations: 4.487 MB / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6742, allocations: 0 / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.539e-05/0.6743, allocations: 12 kB / 1.383 GB, free: 12.27 MB / 0.8855 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.001307/0.6756, allocations: 0.565 MB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.6757, allocations: 12.56 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.6759, allocations: 31.62 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.6764, allocations: 293.4 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.6765, allocations: 20.56 kB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.6765, allocations: 24 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.6772, allocations: 303.7 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6773, allocations: 0 / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.6773, allocations: 8 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.6773, allocations: 8 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.678, allocations: 254 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.6796, allocations: 0.9478 MB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.6803, allocations: 339.9 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.6804, allocations: 0 / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.6808, allocations: 177.8 kB / 1.386 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.552e-06/0.6808, allocations: 3.938 kB / 1.386 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0008507/0.6816, allocations: 355.2 kB / 1.386 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.6817, allocations: 106.8 kB / 1.386 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.682, allocations: 254.2 kB / 1.386 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.6821, allocations: 33.7 kB / 1.386 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6822, allocations: 164.2 kB / 1.386 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.6823, allocations: 63.02 kB / 1.387 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.6823, allocations: 4 kB / 1.387 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6824, allocations: 334.8 kB / 1.387 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6827, allocations: 96.31 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.683, allocations: 134.1 kB / 1.387 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.6832, allocations: 103.9 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6832, allocations: 0 / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005526/0.6838, allocations: 271.7 kB / 1.387 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.6839, allocations: 182 kB / 1.388 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6839, allocations: 0 / 1.388 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6839, allocations: 8 kB / 1.388 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.6842, allocations: 51.89 kB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6842, allocations: 4 kB / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.6844, allocations: 39.83 kB / 1.388 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.6844, allocations: 7.984 kB / 1.388 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.6844, allocations: 4 kB / 1.388 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004128/0.6848, allocations: 187.8 kB / 1.388 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.6848, allocations: 8.031 kB / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.6849, allocations: 0 / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.685, allocations: 39.98 kB / 1.388 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.6851, allocations: 7.938 kB / 1.388 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.6852, allocations: 31.81 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.6852, allocations: 15.95 kB / 1.388 GB, free: 6.566 MB / 0.8855 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 () * Number of clocked 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.0001892/0.6854, allocations: 218.3 kB / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.6855, allocations: 27.62 kB / 1.388 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.6861, allocations: 283.8 kB / 1.388 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6861, allocations: 4 kB / 1.388 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6861, allocations: 0 / 1.388 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6861, allocations: 0 / 1.388 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6872, allocations: 0.728 MB / 1.389 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6872, allocations: 7.938 kB / 1.389 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.6875, allocations: 47.97 kB / 1.389 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6875, allocations: 3.984 kB / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.6875, allocations: 4 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6875, allocations: 0 / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6875, allocations: 11.91 kB / 1.389 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.6884, allocations: 0.4943 MB / 1.39 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.6885, allocations: 108.7 kB / 1.39 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.6885, allocations: 4 kB / 1.39 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.6887, allocations: 31.97 kB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.6888, allocations: 11.94 kB / 1.39 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.6888, allocations: 11.98 kB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002028/0.689, allocations: 206 kB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.81e-07/0.689, allocations: 0 / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003897/0.6894, allocations: 91.67 kB / 1.39 GB, free: 4.172 MB / 0.8855 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 () * Number of clocked 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.0001675/0.6896, allocations: 112 kB / 1.39 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.6904, allocations: 321.7 kB / 1.391 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6904, allocations: 0 / 1.391 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.6906, allocations: 119.8 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.691, allocations: 39.28 kB / 1.391 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.692, allocations: 0.5766 MB / 1.391 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6923, allocations: 0.7677 MB / 1.392 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.6924, allocations: 25.94 kB / 1.392 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.6925, allocations: 27.36 kB / 1.392 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of SimCode: time 2.114e-06/0.6925, allocations: 4 kB / 1.392 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of Templates: time 0.005774/0.6983, allocations: 2.335 MB / 1.394 GB, free: 15.81 MB / 0.9011 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