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.443/1.443, allocations: 249.5 MB / 257 MB, free: 6.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.001095/0.001095, allocations: 187.7 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.000873/0.0008732, allocations: 103.3 kB / 0.6714 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2376, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7995/1.037, allocations: 135.7 MB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.038, allocations: 89.02 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01352/1.051, allocations: 5.458 MB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/1.051, allocations: 0 / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.051, allocations: 8 kB / 1.023 GB, free: 13.5 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.0007606/1.052, allocations: 0.5417 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.052, allocations: 8.031 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/1.052, allocations: 39.53 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/1.053, allocations: 307.8 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.053, allocations: 8 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/1.053, allocations: 19.91 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003112/1.053, allocations: 164.4 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/1.053, allocations: 244.8 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.053, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.053, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.053, allocations: 8 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/1.055, allocations: 1.05 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/1.055, allocations: 210.8 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/1.055, allocations: 95.11 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/1.055, allocations: 3.984 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.055, allocations: 38.22 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.838e-06/1.055, allocations: 4 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0003592/1.056, allocations: 177.1 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.056, allocations: 85.09 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/1.056, allocations: 209.7 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/1.056, allocations: 25.7 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.056, allocations: 188.4 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/1.056, allocations: 57.67 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/1.056, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.056, allocations: 332.8 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/1.057, allocations: 62.81 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/1.057, allocations: 93.61 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/1.057, allocations: 65.17 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.057, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002852/1.057, allocations: 200.1 kB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/1.057, allocations: 189.8 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.057, allocations: 0 / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.057, allocations: 4 kB / 1.027 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/1.057, allocations: 55.03 kB / 1.028 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.057, allocations: 0 / 1.028 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/1.058, allocations: 35.88 kB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.058, allocations: 7.953 kB / 1.028 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.058, allocations: 4 kB / 1.028 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002175/1.058, allocations: 136.8 kB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/1.058, allocations: 4 kB / 1.028 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-06/1.058, allocations: 0 / 1.028 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/1.058, allocations: 48 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/1.058, allocations: 0 / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/1.058, allocations: 31.77 kB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.058, allocations: 7.625 kB / 1.028 GB, free: 9.398 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.726e-05/1.058, allocations: 101 kB / 1.028 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/1.058, allocations: 31.67 kB / 1.028 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/1.059, allocations: 194.8 kB / 1.028 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.059, allocations: 7.953 kB / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.059, allocations: 0 / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.059, allocations: 0 / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/1.059, allocations: 0.5655 MB / 1.029 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.059, allocations: 4 kB / 1.029 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/1.06, allocations: 59.86 kB / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.06, allocations: 0 / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.06, allocations: 6.938 kB / 1.029 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.06, allocations: 0 / 1.029 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.06, allocations: 3.953 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/1.06, allocations: 391.4 kB / 1.029 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/1.06, allocations: 112.6 kB / 1.029 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/1.06, allocations: 3.953 kB / 1.029 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.061, allocations: 23.97 kB / 1.029 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.061, allocations: 15.97 kB / 1.029 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.061, allocations: 11.38 kB / 1.029 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001441/1.061, allocations: 173.9 kB / 1.029 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.061, allocations: 0 / 1.029 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003841/1.061, allocations: 91.53 kB / 1.03 GB, free: 7.852 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.0001666/1.061, allocations: 99.25 kB / 1.03 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003839/1.062, allocations: 234.6 kB / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.062, allocations: 0 / 1.03 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/1.062, allocations: 86.75 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/1.062, allocations: 44.69 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/1.063, allocations: 343.5 kB / 1.03 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.063, allocations: 0.7762 MB / 1.031 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001888/1.063, allocations: 39.36 kB / 1.031 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/1.064, allocations: 15.44 kB / 1.031 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.064, allocations: 0 / 1.031 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of Templates: time 0.005487/1.069, allocations: 2.511 MB / 1.034 GB, free: 3.867 MB / 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