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.383/2.383, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.00119/0.001189, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.611/1.611, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009131/0.0009131, allocations: 100.5 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.197e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.367, allocations: 151.7 MB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.368, allocations: 90.28 kB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01196/1.38, allocations: 4.488 MB / 1.365 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.204e-06/1.38, allocations: 3.844 kB / 1.365 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.38, allocations: 7.938 kB / 1.365 GB, free: 34.54 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.0007346/1.38, allocations: 0.5243 MB / 1.366 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.38, allocations: 11.47 kB / 1.366 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/1.381, allocations: 35.06 kB / 1.366 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/1.381, allocations: 289.3 kB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.381, allocations: 19.47 kB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/1.381, allocations: 26.09 kB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/1.382, allocations: 256.5 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.382, allocations: 0 / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/1.382, allocations: 18.03 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/1.382, allocations: 7.656 kB / 1.366 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/1.382, allocations: 172.4 kB / 1.366 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.383, allocations: 0.9537 MB / 1.367 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.384, allocations: 268.7 kB / 1.368 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/1.384, allocations: 97.47 kB / 1.368 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/1.384, allocations: 7.547 kB / 1.368 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/1.384, allocations: 134.8 kB / 1.368 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/1.384, allocations: 0 / 1.368 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003513/1.384, allocations: 181.1 kB / 1.368 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.385, allocations: 109.6 kB / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/1.385, allocations: 256.7 kB / 1.368 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/1.385, allocations: 29.64 kB / 1.368 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.385, allocations: 172 kB / 1.368 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/1.385, allocations: 65.69 kB / 1.369 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.385, allocations: 3.562 kB / 1.369 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.385, allocations: 337.8 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/1.385, allocations: 56.56 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/1.385, allocations: 96.5 kB / 1.369 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/1.386, allocations: 64.55 kB / 1.369 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.386, allocations: 0 / 1.369 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002719/1.386, allocations: 195.4 kB / 1.369 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.386, allocations: 188.3 kB / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/1.386, allocations: 0 / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.386, allocations: 0 / 1.369 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/1.386, allocations: 56.58 kB / 1.369 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/1.386, allocations: 4.062 kB / 1.369 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/1.386, allocations: 45.09 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/1.386, allocations: 10.23 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/1.386, allocations: 7.812 kB / 1.37 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001984/1.387, allocations: 149.2 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/1.387, allocations: 0 / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-06/1.387, allocations: 3.844 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/1.387, allocations: 37.69 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/1.387, allocations: 3.844 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.387, allocations: 37.14 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/1.387, allocations: 7.562 kB / 1.37 GB, free: 32.07 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.0001063/1.387, allocations: 118.6 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/1.387, allocations: 27.09 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/1.387, allocations: 205.2 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.387, allocations: 0 / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.387, allocations: 3.938 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.387, allocations: 4 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/1.388, allocations: 0.6537 MB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.388, allocations: 0 / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/1.388, allocations: 48.53 kB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.388, allocations: 0 / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/1.388, allocations: 3.5 kB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.388, allocations: 7.844 kB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.388, allocations: 0 / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/1.389, allocations: 394.8 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/1.389, allocations: 110.2 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/1.389, allocations: 2.875 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/1.389, allocations: 33.23 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/1.389, allocations: 21.53 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.389, allocations: 3.812 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001742/1.389, allocations: 202.2 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.389, allocations: 0 / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003405/1.39, allocations: 84.94 kB / 1.372 GB, free: 31.18 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.0001527/1.39, allocations: 115.4 kB / 1.372 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000357/1.39, allocations: 229.9 kB / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.39, allocations: 0 / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/1.39, allocations: 87.41 kB / 1.372 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/1.391, allocations: 39.17 kB / 1.372 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/1.391, allocations: 346.5 kB / 1.372 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.392, allocations: 0.7698 MB / 1.373 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001701/1.392, allocations: 39.64 kB / 1.373 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/1.392, allocations: 19.09 kB / 1.373 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.392, allocations: 0 / 1.373 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.005459/1.397, allocations: 2.697 MB / 1.376 GB, free: 29.99 MB / 0.8386 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