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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001722/0.001722, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.002209/0.002209, allocations: 192.2 kB / 17.34 MB, free: 5.719 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 / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001924, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.138, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003409/1.142, allocations: 2.044 MB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000873/1.143, allocations: 454.3 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/1.143, allocations: 2.844 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/1.143, allocations: 41.58 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/1.143, allocations: 35.39 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/1.144, allocations: 99.05 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/1.144, allocations: 295.1 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/1.144, allocations: 151.2 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/1.144, allocations: 103.6 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/1.145, allocations: 110.7 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/1.145, allocations: 33.22 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/1.145, allocations: 32.69 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/1.145, allocations: 58.58 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/1.145, allocations: 115.4 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/1.145, allocations: 395.8 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.145, allocations: 1.672 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.145, allocations: 0 / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.145, allocations: 1.344 kB / 1.092 GB, free: 2.938 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.0009016/1.146, allocations: 0.5339 MB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.146, allocations: 9.031 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/1.146, allocations: 29.94 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/1.147, allocations: 272 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/1.147, allocations: 13.03 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/1.147, allocations: 25.38 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/1.147, allocations: 235.3 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.147, allocations: 4.969 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.147, allocations: 9.812 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.148, allocations: 5.625 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/1.148, allocations: 172.5 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/1.149, allocations: 0.843 MB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/1.15, allocations: 184 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/1.15, allocations: 95.16 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/1.15, allocations: 2.516 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.15, allocations: 44.77 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/1.15, allocations: 4 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0007034/1.151, allocations: 225 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.151, allocations: 79.41 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/1.151, allocations: 231 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.151, allocations: 27.23 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/1.151, allocations: 158 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/1.151, allocations: 40.53 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/1.151, allocations: 35.58 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/1.151, allocations: 329.9 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/1.152, allocations: 68.58 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.152, allocations: 109.4 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/1.152, allocations: 165.8 kB / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.152, allocations: 0.7188 kB / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004997/1.153, allocations: 205.9 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.153, allocations: 5.5 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.153, allocations: 1.5 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.153, allocations: 10.23 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.153, allocations: 37.41 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.153, allocations: 2.531 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.153, allocations: 26.05 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/1.153, allocations: 11.53 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002603/1.154, allocations: 151.8 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001869/1.154, allocations: 105.4 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002991/1.154, allocations: 130.3 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/1.154, allocations: 4.781 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0004091/1.154, allocations: 177.7 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/1.154, allocations: 5.469 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/1.154, allocations: 1.766 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/1.154, allocations: 2.438 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/1.155, allocations: 36.08 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.155, allocations: 2.531 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/1.155, allocations: 31.31 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/1.155, allocations: 7.938 kB / 1.097 GB, free: 15.63 MB / 0.8731 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.0001166/1.155, allocations: 185.2 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/1.155, allocations: 16.48 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/1.155, allocations: 29.3 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.155, allocations: 1.188 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.155, allocations: 0 / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.155, allocations: 2.391 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/1.156, allocations: 310 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.156, allocations: 3.938 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.156, allocations: 31.98 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.156, allocations: 1.031 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/1.156, allocations: 5.422 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.156, allocations: 0.5312 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.156, allocations: 0.7031 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/1.156, allocations: 346.5 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/1.157, allocations: 92.27 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/1.157, allocations: 10.61 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/1.157, allocations: 15.81 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/1.157, allocations: 15.09 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/1.157, allocations: 11.86 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000181/1.157, allocations: 165 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 1.188 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003769/1.157, allocations: 67.41 kB / 1.098 GB, free: 14.69 MB / 0.8731 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.0001384/1.158, allocations: 103 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006341/1.158, allocations: 222.6 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.158, allocations: 0 / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/1.158, allocations: 75.53 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/1.159, allocations: 35.11 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/1.16, allocations: 416.2 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/1.16, allocations: 0.739 MB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/1.16, allocations: 18.39 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.16, allocations: 1.094 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.006033/1.166, allocations: 2.587 MB / 1.102 GB, free: 13.21 MB / 0.8731 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/jenkins1/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