Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.863/2.863, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001577/0.001577, allocations: 185.2 kB / 498.1 MB, free: 5.746 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.708/1.708, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.001061/0.001061, allocations: 92.33 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005005, allocations: 9.5 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4036, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.6377, allocations: 151.8 MB / 1.371 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.6381, allocations: 87.94 kB / 1.371 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.6493, allocations: 4.498 MB / 1.376 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6494, allocations: 0 / 1.376 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.6494, allocations: 8 kB / 1.376 GB, free: 13 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.001005/0.6505, allocations: 0.5744 MB / 1.376 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.6505, allocations: 12.03 kB / 1.376 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.6506, allocations: 31.62 kB / 1.376 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.6511, allocations: 297.5 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.6511, allocations: 16.56 kB / 1.376 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.6512, allocations: 24 kB / 1.377 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.6518, allocations: 307.6 kB / 1.377 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6518, allocations: 0 / 1.377 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.6519, allocations: 12 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.6519, allocations: 4 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.6525, allocations: 246.1 kB / 1.377 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.654, allocations: 0.9516 MB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.6547, allocations: 346.4 kB / 1.378 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.6547, allocations: 0 / 1.378 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.6552, allocations: 177 kB / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.6552, allocations: 0 / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0008576/0.6561, allocations: 343 kB / 1.379 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6562, allocations: 114.8 kB / 1.379 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.6565, allocations: 250.2 kB / 1.379 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6565, allocations: 33.7 kB / 1.379 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.6567, allocations: 172.2 kB / 1.379 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.6568, allocations: 59.11 kB / 1.379 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.6568, allocations: 4 kB / 1.379 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.657, allocations: 338.8 kB / 1.38 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.6572, allocations: 92.33 kB / 1.38 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.6575, allocations: 130.7 kB / 1.38 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.6577, allocations: 108.6 kB / 1.38 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6577, allocations: 0 / 1.38 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005664/0.6583, allocations: 274.1 kB / 1.38 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.6584, allocations: 188.5 kB / 1.38 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6585, allocations: 0 / 1.38 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.6585, allocations: 4 kB / 1.38 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6587, allocations: 47.91 kB / 1.381 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6587, allocations: 8 kB / 1.381 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.6589, allocations: 43.81 kB / 1.381 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.659, allocations: 8 kB / 1.381 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.659, allocations: 4 kB / 1.381 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004045/0.6594, allocations: 193.2 kB / 1.381 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.6594, allocations: 0 / 1.381 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-06/0.6594, allocations: 0 / 1.381 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.6596, allocations: 39.97 kB / 1.381 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.6596, allocations: 8.031 kB / 1.381 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.6598, allocations: 39.72 kB / 1.381 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6598, allocations: 11.95 kB / 1.381 GB, free: 7.285 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.0002039/0.66, allocations: 217.1 kB / 1.381 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.66, allocations: 27.72 kB / 1.381 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.6607, allocations: 276.8 kB / 1.381 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6607, allocations: 4 kB / 1.381 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6607, allocations: 48 / 1.381 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6607, allocations: 3.984 kB / 1.381 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.6618, allocations: 0.7303 MB / 1.382 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6618, allocations: 0 / 1.382 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.6621, allocations: 51.94 kB / 1.382 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.6621, allocations: 3.938 kB / 1.382 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.6621, allocations: 8 kB / 1.382 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6621, allocations: 0 / 1.382 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6621, allocations: 3.984 kB / 1.382 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.663, allocations: 0.4958 MB / 1.383 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.6631, allocations: 104.8 kB / 1.383 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.6631, allocations: 8 kB / 1.383 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.6633, allocations: 32.03 kB / 1.383 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.6634, allocations: 15.94 kB / 1.383 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.6634, allocations: 7.938 kB / 1.383 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002193/0.6637, allocations: 210 kB / 1.383 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6637, allocations: 0 / 1.383 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003922/0.6641, allocations: 87.69 kB / 1.383 GB, free: 4.902 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.0002118/0.6643, allocations: 118.9 kB / 1.383 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007699/0.6651, allocations: 312.8 kB / 1.384 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6651, allocations: 0 / 1.384 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.6653, allocations: 129.7 kB / 1.384 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.6657, allocations: 32.88 kB / 1.384 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.6668, allocations: 0.5767 MB / 1.384 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6672, allocations: 0.7677 MB / 1.385 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.6673, allocations: 25.94 kB / 1.385 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.6674, allocations: 19.44 kB / 1.385 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.6674, allocations: 4 kB / 1.385 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of Templates: time 0.005999/0.6734, allocations: 2.324 MB / 1.387 GB, free: 0.5586 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches