Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005862/0.005862, allocations: 99.27 kB / 15.73 MB, free: 6.012 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.001255/0.001256, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7267, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003024/0.7297, allocations: 2.054 MB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000743/0.7305, allocations: 446.7 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.7306, allocations: 4 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.7308, allocations: 43.59 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.7309, allocations: 43.66 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.7311, allocations: 91.86 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.7314, allocations: 288.5 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.7317, allocations: 160.5 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.7319, allocations: 95.59 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.732, allocations: 111.4 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.7321, allocations: 40 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.7321, allocations: 32 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.7322, allocations: 59.84 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.7323, allocations: 123.3 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.7327, allocations: 387.1 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7327, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7327, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7327, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 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.000796/0.7335, allocations: 0.5495 MB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.7336, allocations: 8.031 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.7336, allocations: 28.8 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.734, allocations: 269.5 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.734, allocations: 16.81 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.734, allocations: 28.33 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.7345, allocations: 238.3 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7345, allocations: 7.875 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.7345, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.7345, allocations: 8 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.7349, allocations: 169 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.7361, allocations: 0.8446 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.7365, allocations: 182.7 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.7368, allocations: 92.81 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.7368, allocations: 0 / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.7368, allocations: 34.56 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.7368, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0006147/0.7374, allocations: 241.4 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.7375, allocations: 77.11 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.7378, allocations: 239.2 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.7378, allocations: 29.7 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7379, allocations: 152.3 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.7379, allocations: 51.64 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.738, allocations: 33.7 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7381, allocations: 326.8 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.7383, allocations: 68.81 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.7385, allocations: 109.1 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.7389, allocations: 156.9 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7389, allocations: 4.031 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004472/0.7393, allocations: 209.3 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7394, allocations: 4 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7394, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7394, allocations: 7.938 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.7396, allocations: 36.08 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7396, allocations: 3.984 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.7397, allocations: 27.88 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.7397, allocations: 4 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001979/0.74, allocations: 156.1 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001511/0.7401, allocations: 103.7 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000256/0.7404, allocations: 133.7 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.7404, allocations: 0 / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003411/0.7407, allocations: 181.5 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.7408, allocations: 8 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.7408, allocations: 0 / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.7408, allocations: 0 / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.7409, allocations: 47.83 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7409, allocations: 4 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.741, allocations: 19.88 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.7411, allocations: 8.094 kB / 1.175 GB, free: 10.76 MB / 0.9044 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.00012/0.7412, allocations: 188.3 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.7412, allocations: 19.86 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.7413, allocations: 29.33 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7413, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7413, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7413, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.7416, allocations: 309.4 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7416, allocations: 0 / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.7418, allocations: 35.92 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.7418, allocations: 4 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.7418, allocations: 11.86 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7418, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7419, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.7425, allocations: 347.7 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.7425, allocations: 93.05 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.7426, allocations: 11.94 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.7427, allocations: 15.97 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.7428, allocations: 4 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.7428, allocations: 11.92 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001817/0.743, allocations: 168.5 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.743, allocations: 64 / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003528/0.7433, allocations: 75.73 kB / 1.176 GB, free: 9.371 MB / 0.9044 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.0001095/0.7435, allocations: 103.2 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.744, allocations: 217.3 kB / 1.177 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.744, allocations: 4.125 kB / 1.177 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.7442, allocations: 79.88 kB / 1.177 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.7446, allocations: 34.7 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.7454, allocations: 396.8 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7457, allocations: 0.7323 MB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.7458, allocations: 21.55 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.7459, allocations: 19.42 kB / 1.178 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7459, allocations: 0 / 1.178 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of Templates: time 0.005037/0.7509, allocations: 2.028 MB / 1.18 GB, free: 5.719 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches