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.001686/0.001686, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00192/0.00192, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 482.4 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 65.08 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003619/0.3091, allocations: 2.092 MB / 1.084 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.3099, allocations: 430.7 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.31, allocations: 4 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3102, allocations: 27.72 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.901e-05/0.3103, allocations: 31.78 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.3105, allocations: 79.97 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.3108, allocations: 284.5 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.3111, allocations: 164.5 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.3113, allocations: 99.58 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3114, allocations: 107.4 kB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.3114, allocations: 32 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.3115, allocations: 32 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.3116, allocations: 63.78 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3117, allocations: 123.4 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.312, allocations: 371.1 kB / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3121, allocations: 0 / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.877e-06/0.3121, allocations: 0 / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3121, allocations: 7.938 kB / 1.086 GB, free: 9.73 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.0008867/0.313, allocations: 0.5418 MB / 1.086 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.313, allocations: 12.03 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.3131, allocations: 24.66 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.3134, allocations: 264.3 kB / 1.086 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3134, allocations: 20.81 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.3135, allocations: 28.31 kB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.314, allocations: 234.3 kB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.314, allocations: 3.938 kB / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.314, allocations: 11.94 kB / 1.087 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.314, allocations: 4 kB / 1.087 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.3145, allocations: 173 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3157, allocations: 0.8444 MB / 1.088 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.3162, allocations: 190.6 kB / 1.088 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3165, allocations: 92.81 kB / 1.088 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3165, allocations: 0 / 1.088 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3166, allocations: 34.56 kB / 1.088 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.3166, allocations: 0 / 1.088 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006419/0.3172, allocations: 233.4 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3173, allocations: 85.05 kB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3175, allocations: 235.2 kB / 1.088 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3176, allocations: 33.7 kB / 1.089 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3177, allocations: 152.1 kB / 1.089 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.3177, allocations: 47.34 kB / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.3178, allocations: 37.7 kB / 1.089 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.318, allocations: 326.8 kB / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3182, allocations: 68.81 kB / 1.089 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3184, allocations: 109.1 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.3188, allocations: 158.2 kB / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3188, allocations: 0 / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004685/0.3193, allocations: 213.2 kB / 1.09 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3193, allocations: 4 kB / 1.09 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3193, allocations: 4 kB / 1.09 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3193, allocations: 3.938 kB / 1.09 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3195, allocations: 31.98 kB / 1.09 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3195, allocations: 3.984 kB / 1.09 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3197, allocations: 31.92 kB / 1.09 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3197, allocations: 4 kB / 1.09 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002128/0.3199, allocations: 156.1 kB / 1.09 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001734/0.3201, allocations: 102.8 kB / 1.09 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002734/0.3204, allocations: 131.4 kB / 1.09 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.3204, allocations: 0 / 1.09 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003577/0.3207, allocations: 186.7 kB / 1.09 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.3208, allocations: 4 kB / 1.09 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.3208, allocations: 0 / 1.09 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.3208, allocations: 4 kB / 1.09 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3209, allocations: 35.91 kB / 1.09 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.3209, allocations: 7.875 kB / 1.09 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3211, allocations: 27.83 kB / 1.09 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3211, allocations: 8 kB / 1.09 GB, free: 4.57 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.0001303/0.3212, allocations: 192.2 kB / 1.09 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3213, allocations: 15.81 kB / 1.09 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.3213, allocations: 25.33 kB / 1.091 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3213, allocations: 0 / 1.091 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3213, allocations: 0 / 1.091 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3213, allocations: 3.984 kB / 1.091 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.3217, allocations: 301.4 kB / 1.091 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3217, allocations: 0 / 1.091 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3219, allocations: 35.92 kB / 1.091 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3219, allocations: 4 kB / 1.091 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3219, allocations: 7.922 kB / 1.091 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3219, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3219, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.3226, allocations: 343.2 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.3226, allocations: 96.86 kB / 1.091 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3227, allocations: 11.94 kB / 1.091 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3228, allocations: 15.97 kB / 1.091 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3229, allocations: 4 kB / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3229, allocations: 7.984 kB / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001681/0.3231, allocations: 168.5 kB / 1.091 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3231, allocations: 3.938 kB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003637/0.3235, allocations: 67.69 kB / 1.092 GB, free: 3.207 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.0001275/0.3236, allocations: 109.3 kB / 1.092 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000589/0.3242, allocations: 227.1 kB / 1.092 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3242, allocations: 384 / 1.092 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3244, allocations: 71.91 kB / 1.092 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3248, allocations: 38.02 kB / 1.092 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.3256, allocations: 470 kB / 1.092 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.326, allocations: 0.7402 MB / 1.093 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.051e-05/0.3261, allocations: 13.55 kB / 1.093 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.3262, allocations: 23.42 kB / 1.093 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3262, allocations: 0 / 1.093 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.00535/0.3315, allocations: 1.956 MB / 1.095 GB, free: 15.54 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