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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 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.001603/0.001603, allocations: 192 kB / 16.53 MB, free: 6.664 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 482.6 MB / 0.7548 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.14 kB / 0.9241 GB, free: 29.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003874/0.2948, allocations: 2.042 MB / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.2957, allocations: 454.7 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2959, allocations: 7.938 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.2961, allocations: 39.59 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2962, allocations: 35.66 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2964, allocations: 99.86 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.2968, allocations: 284.5 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.2971, allocations: 156.5 kB / 1.086 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2973, allocations: 99.58 kB / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2974, allocations: 103.5 kB / 1.086 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.2975, allocations: 32 kB / 1.086 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.2975, allocations: 32 kB / 1.086 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.2976, allocations: 71.7 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2977, allocations: 127.3 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.2981, allocations: 367.1 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2982, allocations: 0 / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2982, allocations: 4 kB / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2982, allocations: 4 kB / 1.086 GB, free: 9.012 MB / 0.8419 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.0009428/0.2991, allocations: 0.5379 MB / 1.087 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2992, allocations: 8.031 kB / 1.087 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.2992, allocations: 28.64 kB / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.2997, allocations: 272.2 kB / 1.087 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2997, allocations: 20.81 kB / 1.087 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.2997, allocations: 16.38 kB / 1.087 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.3002, allocations: 234.3 kB / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3002, allocations: 3.938 kB / 1.087 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.3003, allocations: 8 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3003, allocations: 4 kB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.3007, allocations: 180.9 kB / 1.088 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.302, allocations: 0.8405 MB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.3025, allocations: 190.6 kB / 1.089 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3028, allocations: 88.81 kB / 1.089 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3028, allocations: 4 kB / 1.089 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3028, allocations: 30.56 kB / 1.089 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3028, allocations: 0 / 1.089 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006536/0.3035, allocations: 229.5 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3036, allocations: 85.05 kB / 1.089 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.3038, allocations: 239.2 kB / 1.089 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3039, allocations: 29.7 kB / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.304, allocations: 160.1 kB / 1.089 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3041, allocations: 39.36 kB / 1.09 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.3041, allocations: 41.72 kB / 1.09 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3043, allocations: 330.8 kB / 1.09 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3045, allocations: 72.81 kB / 1.09 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3048, allocations: 109.1 kB / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.3052, allocations: 155.3 kB / 1.09 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3052, allocations: 32 / 1.09 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004809/0.3057, allocations: 209.3 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3057, allocations: 9.875 kB / 1.09 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3057, allocations: 0 / 1.09 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3057, allocations: 7.922 kB / 1.09 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3059, allocations: 39.91 kB / 1.09 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3059, allocations: 4.094 kB / 1.09 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3061, allocations: 31.83 kB / 1.09 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.3061, allocations: 4 kB / 1.09 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/0.3063, allocations: 160 kB / 1.091 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001621/0.3065, allocations: 89.12 kB / 1.091 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002794/0.3068, allocations: 138.5 kB / 1.091 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.3068, allocations: 4 kB / 1.091 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003701/0.3072, allocations: 185.4 kB / 1.091 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.3072, allocations: 4 kB / 1.091 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.3072, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.3072, allocations: 4 kB / 1.091 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3073, allocations: 35.92 kB / 1.091 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.3073, allocations: 3.938 kB / 1.091 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3075, allocations: 19.89 kB / 1.091 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3075, allocations: 8 kB / 1.091 GB, free: 3.855 MB / 0.8419 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.0001372/0.3076, allocations: 200.2 kB / 1.091 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.3077, allocations: 15.81 kB / 1.091 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.3077, allocations: 21.34 kB / 1.091 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3077, allocations: 4 kB / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3077, allocations: 0 / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3078, allocations: 3.984 kB / 1.091 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.3081, allocations: 297.4 kB / 1.092 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3081, allocations: 4 kB / 1.092 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3083, allocations: 31.97 kB / 1.092 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3083, allocations: 4 kB / 1.092 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3083, allocations: 3.938 kB / 1.092 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3083, allocations: 4 kB / 1.092 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3083, allocations: 0 / 1.092 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.309, allocations: 343.1 kB / 1.092 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.3091, allocations: 108.8 kB / 1.092 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3091, allocations: 3.938 kB / 1.092 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3093, allocations: 15.98 kB / 1.092 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3093, allocations: 7.984 kB / 1.092 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3093, allocations: 4 kB / 1.092 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00018/0.3095, allocations: 172.5 kB / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 0 / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003653/0.3099, allocations: 71.75 kB / 1.092 GB, free: 2.48 MB / 0.8419 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.0001398/0.3101, allocations: 103.2 kB / 1.092 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006169/0.3107, allocations: 220.6 kB / 1.093 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3107, allocations: 4.062 kB / 1.093 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3109, allocations: 75.83 kB / 1.093 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3113, allocations: 38.42 kB / 1.093 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.3121, allocations: 393.3 kB / 1.093 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3125, allocations: 0.7363 MB / 1.094 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.3126, allocations: 25.52 kB / 1.094 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.3127, allocations: 15.44 kB / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3127, allocations: 0 / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of Templates: time 0.005818/0.3185, allocations: 2.016 MB / 1.096 GB, free: 14.82 MB / 0.8575 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=400 -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