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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008533/0.008533, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 72.11 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003684/0.3677, allocations: 2.042 MB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.3687, allocations: 450.6 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.369, allocations: 4 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.3692, allocations: 39.59 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3694, allocations: 35.67 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.3696, allocations: 95.86 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.37, allocations: 288.4 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3704, allocations: 152.5 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3705, allocations: 103.6 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3707, allocations: 111.4 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.3708, allocations: 32 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.3709, allocations: 32 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.3709, allocations: 63.78 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.371, allocations: 119.4 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3715, allocations: 386.6 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3715, allocations: 0 / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3715, allocations: 0 / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3715, allocations: 0 / 1.212 GB, free: 5.75 MB / 0.9669 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.0009639/0.3725, allocations: 0.5457 MB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3725, allocations: 16.56 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.3726, allocations: 28.66 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.373, allocations: 268.7 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.373, allocations: 16.81 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.3731, allocations: 24.38 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.3736, allocations: 238.2 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3736, allocations: 3.938 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3736, allocations: 8 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3736, allocations: 7.984 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.3741, allocations: 177 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3754, allocations: 0.8366 MB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.3759, allocations: 190.7 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3761, allocations: 88.81 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3761, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3762, allocations: 42.55 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.3762, allocations: 0 / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006305/0.3768, allocations: 233.3 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.3769, allocations: 81.11 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3771, allocations: 235.2 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3772, allocations: 33.7 kB / 1.215 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.3773, allocations: 156.1 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3774, allocations: 39.36 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.3775, allocations: 37.7 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3776, allocations: 326.8 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3778, allocations: 68.81 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.378, allocations: 117 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.3784, allocations: 153.9 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3784, allocations: 0 / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004465/0.3789, allocations: 209.2 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3789, allocations: 4 kB / 1.216 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3789, allocations: 4.094 kB / 1.216 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3789, allocations: 7.938 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3791, allocations: 35.97 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3791, allocations: 0 / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3792, allocations: 31.77 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3793, allocations: 4 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002162/0.3795, allocations: 156.1 kB / 1.216 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001557/0.3796, allocations: 98.83 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002696/0.3799, allocations: 135.3 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.3799, allocations: 4.031 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.00034/0.3803, allocations: 179.6 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.3803, allocations: 4 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.3803, allocations: 3.938 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.3803, allocations: 7.984 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3804, allocations: 39.86 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.3804, allocations: 0 / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3806, allocations: 23.98 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3806, allocations: 4 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.3807, allocations: 192.2 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.3808, allocations: 15.81 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.3808, allocations: 25.33 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3808, allocations: 0 / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3809, allocations: 4 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3809, allocations: 4 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.3812, allocations: 313.3 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3812, allocations: 0 / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3813, allocations: 27.98 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3813, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3814, allocations: 11.92 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3814, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3814, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.382, allocations: 343.2 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.3821, allocations: 100.9 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3821, allocations: 11.86 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3823, allocations: 15.98 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3823, allocations: 4 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3823, allocations: 8.047 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002001/0.3825, allocations: 168.7 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3825, allocations: 0 / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003388/0.3829, allocations: 63.69 kB / 1.218 GB, free: 15.21 MB / 0.9825 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.383, allocations: 107.2 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.3836, allocations: 223.8 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3836, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3838, allocations: 75.83 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3842, allocations: 33.02 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.3848, allocations: 389.3 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3852, allocations: 0.7401 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.968e-05/0.3853, allocations: 13.55 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.3853, allocations: 23.42 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3853, allocations: 0 / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.005053/0.3904, allocations: 2.083 MB / 1.221 GB, free: 11.5 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches