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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001288/0.001289, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.00166/0.00166, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 60.09 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004605/1.154, allocations: 2.035 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001374/1.156, allocations: 442.8 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/1.156, allocations: 11.88 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/1.157, allocations: 35.59 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/1.157, allocations: 43.66 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/1.157, allocations: 99.86 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004729/1.158, allocations: 284.4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/1.158, allocations: 160.5 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/1.158, allocations: 99.58 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/1.158, allocations: 111.4 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/1.159, allocations: 32 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/1.159, allocations: 32 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/1.159, allocations: 63.83 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/1.159, allocations: 123.3 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/1.159, allocations: 382.5 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.159, allocations: 3.938 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.284e-06/1.159, allocations: 0 / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.192e-05/1.159, allocations: 0 / 1.212 GB, free: 9.715 MB / 0.9356 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.001136/1.16, allocations: 0.5398 MB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.161, allocations: 12.03 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/1.161, allocations: 28.56 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/1.161, allocations: 272.2 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.161, allocations: 16.81 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/1.161, allocations: 20.38 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/1.162, allocations: 238.3 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.162, allocations: 3.938 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/1.162, allocations: 8 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.162, allocations: 4 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/1.162, allocations: 181 kB / 1.214 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.164, allocations: 0.8327 MB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/1.164, allocations: 182.7 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/1.164, allocations: 100.7 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/1.164, allocations: 0 / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.165, allocations: 34.56 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/1.165, allocations: 4 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006625/1.165, allocations: 225.3 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.165, allocations: 77.33 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/1.166, allocations: 243.1 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.166, allocations: 25.7 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.166, allocations: 164.1 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/1.166, allocations: 43.36 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/1.166, allocations: 33.72 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.166, allocations: 330.8 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/1.166, allocations: 68.81 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/1.166, allocations: 109.1 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/1.167, allocations: 155.3 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.167, allocations: 0 / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004918/1.167, allocations: 217.2 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.167, allocations: 6.031 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.167, allocations: 4 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.167, allocations: 4.031 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.168, allocations: 39.97 kB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.168, allocations: 0 / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.168, allocations: 27.83 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/1.168, allocations: 4 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002163/1.168, allocations: 156.1 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001627/1.168, allocations: 105 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002762/1.168, allocations: 132.7 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/1.168, allocations: 0 / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003705/1.169, allocations: 189.2 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.169, allocations: 8 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/1.169, allocations: 0 / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/1.169, allocations: 4 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.169, allocations: 31.92 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.169, allocations: 7.938 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.169, allocations: 31.86 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/1.169, allocations: 8 kB / 1.217 GB, free: 4.555 MB / 0.9356 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.0001277/1.169, allocations: 188.2 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/1.169, allocations: 15.81 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/1.169, allocations: 21.34 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.169, allocations: 0 / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.169, allocations: 0 / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.169, allocations: 3.984 kB / 1.217 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/1.17, allocations: 305.3 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.17, allocations: 4 kB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/1.17, allocations: 39.91 kB / 1.218 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.17, allocations: 0 / 1.218 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/1.17, allocations: 7.938 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.17, allocations: 0 / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.17, allocations: 0 / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/1.171, allocations: 343.2 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/1.171, allocations: 96.94 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/1.171, allocations: 7.938 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.171, allocations: 15.98 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/1.171, allocations: 7.984 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/1.171, allocations: 0 / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000176/1.171, allocations: 176.8 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.51e-07/1.171, allocations: 0 / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003818/1.172, allocations: 63.69 kB / 1.218 GB, free: 3.188 MB / 0.9356 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.0001374/1.172, allocations: 107.2 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006263/1.172, allocations: 223.9 kB / 1.219 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.172, allocations: 0 / 1.219 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/1.173, allocations: 71.89 kB / 1.219 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/1.173, allocations: 32.59 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/1.174, allocations: 423.1 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/1.174, allocations: 0.7363 MB / 1.22 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/1.175, allocations: 27.42 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/1.175, allocations: 0 / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.005806/1.18, allocations: 2.576 MB / 1.222 GB, free: 14.95 MB / 0.9512 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=480 -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/jenkins1/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