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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001327/0.001327, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.00128/0.00128, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.81 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2596, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002955/0.2626, allocations: 2.042 MB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.2633, allocations: 454.6 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2634, allocations: 4 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2636, allocations: 39.61 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.2637, allocations: 27.67 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.2639, allocations: 115.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.2642, allocations: 284.5 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.2645, allocations: 161.4 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2646, allocations: 103.6 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2647, allocations: 107.4 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.2647, allocations: 32 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.2648, allocations: 36 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.2648, allocations: 63.78 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.2649, allocations: 115.4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.2653, allocations: 390.6 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2653, allocations: 0 / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2653, allocations: 0 / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.2653, allocations: 0 / 1.023 GB, free: 5.883 MB / 0.795 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.0007837/0.2661, allocations: 0.5418 MB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2661, allocations: 8.031 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.2662, allocations: 28.66 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.2665, allocations: 269.5 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2665, allocations: 12.81 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.2666, allocations: 20.38 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.267, allocations: 238.2 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.267, allocations: 7.875 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2671, allocations: 15.94 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2671, allocations: 4 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2675, allocations: 169 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.2685, allocations: 0.8404 MB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.269, allocations: 186.7 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2692, allocations: 96.75 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2693, allocations: 7.984 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2693, allocations: 34.56 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2693, allocations: 0 / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006152/0.2699, allocations: 233.4 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.27, allocations: 81.11 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.2702, allocations: 235.2 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2702, allocations: 29.7 kB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.2703, allocations: 156 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2704, allocations: 39.45 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.2704, allocations: 37.61 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2705, allocations: 330.8 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.2707, allocations: 68.81 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2709, allocations: 109.1 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.2713, allocations: 160.5 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2713, allocations: 4 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004207/0.2717, allocations: 202.7 kB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2717, allocations: 8 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2717, allocations: 0 / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2718, allocations: 7.922 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2719, allocations: 35.98 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2719, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2721, allocations: 35.91 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2721, allocations: 8 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001912/0.2723, allocations: 152 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001457/0.2725, allocations: 99.69 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002534/0.2727, allocations: 141.5 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.2727, allocations: 4 kB / 1.027 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003265/0.2731, allocations: 177.5 kB / 1.027 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.2731, allocations: 8 kB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.2731, allocations: 0 / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.2731, allocations: 4 kB / 1.027 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2732, allocations: 39.84 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.2732, allocations: 0 / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2733, allocations: 23.89 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2734, allocations: 4 kB / 1.027 GB, free: 0.7305 MB / 0.795 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 9.333e-05/0.2735, allocations: 196.1 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2735, allocations: 15.81 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.2736, allocations: 25.33 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2736, allocations: 4 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2736, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2736, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.2739, allocations: 301.5 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2739, allocations: 4 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2741, allocations: 27.92 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2741, allocations: 0 / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2741, allocations: 11.94 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2741, allocations: 4 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2741, allocations: 0 / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.2747, allocations: 347.1 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.2748, allocations: 97.02 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.2748, allocations: 7.938 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.275, allocations: 11.98 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.275, allocations: 15.92 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.275, allocations: 4 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001395/0.2752, allocations: 164.7 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000352/0.2755, allocations: 71.69 kB / 1.029 GB, free: 15.36 MB / 0.8106 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.0001054/0.2756, allocations: 99.25 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2762, allocations: 223.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2762, allocations: 0 / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.2764, allocations: 76.27 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2767, allocations: 32.66 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.2774, allocations: 385.4 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2777, allocations: 0.7363 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.2778, allocations: 25.53 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.2778, allocations: 15.44 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2778, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.004684/0.2825, allocations: 2.007 MB / 1.032 GB, free: 11.75 MB / 0.8106 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 -s gbode -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/jenkins1/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