Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.46/2.46, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001247/0.001247, allocations: 182.2 kB / 0.4902 GB, free: 2.25 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.772/1.772, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.001051/0.001051, allocations: 113.4 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004421, allocations: 6.844 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4413, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.6847, allocations: 151.9 MB / 1.378 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/0.6852, allocations: 83.94 kB / 1.378 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009482/0.6947, allocations: 3.566 MB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6948, allocations: 0 / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.6948, allocations: 8 kB / 1.381 GB, free: 13.95 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008021/0.6956, allocations: 0.5027 MB / 1.382 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6957, allocations: 12.56 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.6958, allocations: 31.72 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.6961, allocations: 270.3 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.6962, allocations: 12.44 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.6962, allocations: 24 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.6967, allocations: 241.7 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6968, allocations: 0 / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.6968, allocations: 8 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6968, allocations: 11.94 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.6973, allocations: 193.7 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.6985, allocations: 0.8102 MB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.699, allocations: 218.8 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.6991, allocations: 3.953 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.6994, allocations: 127.3 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6994, allocations: 4 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0006895/0.7001, allocations: 272.7 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.7002, allocations: 77.11 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.7005, allocations: 220.2 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.7005, allocations: 29.7 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7006, allocations: 148.2 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.7007, allocations: 51.3 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.7007, allocations: 7.938 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7009, allocations: 326.8 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.7011, allocations: 67.95 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.7013, allocations: 110.8 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.7015, allocations: 83.94 kB / 1.385 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7015, allocations: 0 / 1.385 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004449/0.7019, allocations: 221.3 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.7021, allocations: 182 kB / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7021, allocations: 0 / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7021, allocations: 4 kB / 1.385 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.7023, allocations: 43.91 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7023, allocations: 0 / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.7024, allocations: 35.83 kB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.7025, allocations: 4 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.7025, allocations: 4 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003042/0.7028, allocations: 143.9 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.7028, allocations: 0 / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.7028, allocations: 3.953 kB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.7029, allocations: 27.98 kB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.7029, allocations: 8.031 kB / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7031, allocations: 19.92 kB / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.7031, allocations: 8 kB / 1.385 GB, free: 9.199 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 (16): * Single equations (assignments): 16 * 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.0001858/0.7033, allocations: 217.7 kB / 1.386 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.7033, allocations: 19.72 kB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.7034, allocations: 25.8 kB / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7034, allocations: 4 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7034, allocations: 7.938 kB / 1.386 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7034, allocations: 3.984 kB / 1.386 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.7042, allocations: 0.5764 MB / 1.386 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7042, allocations: 0 / 1.386 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.7044, allocations: 35.92 kB / 1.386 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.7044, allocations: 7.938 kB / 1.386 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.7044, allocations: 8 kB / 1.386 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7044, allocations: 4 kB / 1.386 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7045, allocations: 0 / 1.386 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.7052, allocations: 393.2 kB / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.7053, allocations: 108.8 kB / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.7054, allocations: 3.953 kB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.7055, allocations: 27.98 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.7056, allocations: 7.984 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.7056, allocations: 4 kB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002052/0.7058, allocations: 184.5 kB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7058, allocations: 0 / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003587/0.7062, allocations: 59.78 kB / 1.387 GB, free: 7.422 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (14): * Single equations (assignments): 14 * 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.0002388/0.7065, allocations: 108 kB / 1.387 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.7071, allocations: 243.9 kB / 1.387 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7071, allocations: 3.938 kB / 1.387 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.7074, allocations: 85.7 kB / 1.388 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.7077, allocations: 36.47 kB / 1.388 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.7088, allocations: 476.6 kB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.7092, allocations: 0.7443 MB / 1.389 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000105/0.7093, allocations: 25.53 kB / 1.389 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.7094, allocations: 15.44 kB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.7094, allocations: 0 / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of Templates: time 0.005828/0.7152, allocations: 1.884 MB / 1.391 GB, free: 3.77 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches