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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 66.06 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4084, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004187/0.4127, allocations: 2.085 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.4141, allocations: 430.7 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.4144, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.4147, allocations: 27.72 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.4148, allocations: 31.78 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.4151, allocations: 83.95 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.4154, allocations: 252.5 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.4158, allocations: 156.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4159, allocations: 79.58 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.416, allocations: 91.41 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.4161, allocations: 16 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.843e-05/0.4161, allocations: 12 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.4162, allocations: 39.78 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.4163, allocations: 99.41 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.4167, allocations: 363.1 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4167, allocations: 7.922 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4167, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4167, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 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.001028/0.4177, allocations: 0.5418 MB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/0.4178, allocations: 12.03 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/0.4179, allocations: 32.66 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.4183, allocations: 265.5 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.4184, allocations: 20.8 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.4184, allocations: 16.38 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.4189, allocations: 234.3 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.419, allocations: 3.938 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.419, allocations: 8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.419, allocations: 8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.4194, allocations: 176.9 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.4208, allocations: 0.8443 MB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.4213, allocations: 190.6 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4216, allocations: 92.81 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.4216, allocations: 0 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.4217, allocations: 34.55 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4217, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006699/0.4223, allocations: 225.6 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4224, allocations: 77.11 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.4227, allocations: 239.4 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.4227, allocations: 25.7 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4228, allocations: 168 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.4229, allocations: 39.45 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.4229, allocations: 37.61 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4231, allocations: 330.8 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4233, allocations: 72.81 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4235, allocations: 113.1 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4239, allocations: 158.5 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4239, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004518/0.4243, allocations: 205.3 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4243, allocations: 5.719 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4244, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.4244, allocations: 16.02 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4246, allocations: 31.97 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4246, allocations: 4 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4247, allocations: 27.83 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4248, allocations: 4 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002148/0.425, allocations: 156.1 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001638/0.4251, allocations: 105 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000251/0.4254, allocations: 131.3 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.554e-06/0.4254, allocations: 0 / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003426/0.4258, allocations: 184.6 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.4258, allocations: 7.984 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.4258, allocations: 7.984 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-06/0.4258, allocations: 0 / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4259, allocations: 35.92 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4259, allocations: 7.938 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.4261, allocations: 19.98 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4261, allocations: 4 kB / 1.06 GB, free: 15.89 MB / 0.8262 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.0001206/0.4262, allocations: 196.1 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.4262, allocations: 15.81 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.4263, allocations: 33.33 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4263, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4263, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4263, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.4267, allocations: 301.4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4267, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.4268, allocations: 31.91 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4268, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4269, allocations: 11.94 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4269, allocations: 0 / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4269, allocations: 0 / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.4275, allocations: 351.1 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.4276, allocations: 92.95 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.4276, allocations: 7.922 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4278, allocations: 15.98 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4278, allocations: 7.984 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4279, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001686/0.428, allocations: 172.8 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.428, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003546/0.4284, allocations: 63.69 kB / 1.062 GB, free: 14.52 MB / 0.8262 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.0001362/0.4286, allocations: 107.2 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.4291, allocations: 223.9 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4291, allocations: 0 / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.4293, allocations: 67.91 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.4298, allocations: 36.58 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.4306, allocations: 479.3 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4309, allocations: 0.7365 MB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.354e-05/0.431, allocations: 21.53 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.431, allocations: 15.44 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4311, allocations: 0 / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.005146/0.4362, allocations: 1.867 MB / 1.065 GB, free: 10.95 MB / 0.8262 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/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