Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001193/0.001193, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 196.6 kB / 16.64 MB, free: 6.609 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.447/1.447, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.61/2.61, allocations: 390.3 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 66.36 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3883, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003709/0.392, allocations: 2.04 MB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000871/0.393, allocations: 454.6 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3931, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.3933, allocations: 43.55 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3934, allocations: 35.66 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3937, allocations: 103.8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.394, allocations: 284.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3943, allocations: 156.5 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3945, allocations: 95.59 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3946, allocations: 111.5 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.3947, allocations: 32 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.3947, allocations: 32 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.3948, allocations: 67.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3949, allocations: 119.4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.3953, allocations: 382.7 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3953, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3953, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3953, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 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.0009264/0.3962, allocations: 0.5419 MB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3963, allocations: 12.03 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.3964, allocations: 28.56 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3967, allocations: 268.2 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3968, allocations: 16.81 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.3968, allocations: 24.31 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3973, allocations: 234.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3973, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3973, allocations: 12 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3973, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.3978, allocations: 177 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3989, allocations: 0.8392 MB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.3994, allocations: 178.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3996, allocations: 92.81 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3997, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3997, allocations: 38.56 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.3997, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006426/0.4004, allocations: 229.4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4004, allocations: 85.05 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.4007, allocations: 235 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4007, allocations: 29.7 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4008, allocations: 160.1 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.4009, allocations: 39.44 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.4009, allocations: 41.61 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4011, allocations: 330.8 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.4013, allocations: 68.81 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.4015, allocations: 105.1 kB / 1.095 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4018, allocations: 165.2 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4018, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004265/0.4023, allocations: 205.4 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4023, allocations: 7.984 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4023, allocations: 4 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4023, allocations: 12.02 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4025, allocations: 35.92 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4025, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4027, allocations: 31.81 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4027, allocations: 4 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002173/0.4029, allocations: 160.1 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001483/0.4031, allocations: 101 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002509/0.4033, allocations: 138.5 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4033, allocations: 0 / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003301/0.4037, allocations: 189.4 kB / 1.096 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.4037, allocations: 5.406 kB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.4037, allocations: 0 / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.4037, allocations: 4 kB / 1.096 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4038, allocations: 35.91 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.4038, allocations: 0 / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.404, allocations: 31.92 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.404, allocations: 4 kB / 1.097 GB, free: 8.297 MB / 0.8575 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.0001308/0.4041, allocations: 188.2 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.4041, allocations: 15.81 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.4042, allocations: 29.33 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4042, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4042, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4042, allocations: 4 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.4046, allocations: 293.5 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4046, allocations: 4 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4047, allocations: 27.98 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4047, allocations: 0 / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4048, allocations: 11.92 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4048, allocations: 3.938 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4048, allocations: 0 / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.4054, allocations: 347.1 kB / 1.097 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.4055, allocations: 96.89 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4055, allocations: 7.938 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4057, allocations: 19.97 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.4057, allocations: 7.938 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4057, allocations: 7.984 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001533/0.4059, allocations: 176.5 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4059, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003354/0.4062, allocations: 59.75 kB / 1.098 GB, free: 6.938 MB / 0.8575 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.0001343/0.4064, allocations: 111.2 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005652/0.4069, allocations: 219.8 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.407, allocations: 0 / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4071, allocations: 71.95 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4075, allocations: 34.7 kB / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.4083, allocations: 401.5 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4086, allocations: 0.7363 MB / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.453e-05/0.4087, allocations: 17.55 kB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.4088, allocations: 19.42 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.4088, allocations: 0 / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of Templates: time 0.005038/0.4138, allocations: 2.005 MB / 1.101 GB, free: 3.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches