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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001595/0.001595, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 472.6 MB / 0.7447 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 63.28 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5276, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004397/0.532, allocations: 2.103 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.5332, allocations: 430.7 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.5335, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.5338, allocations: 27.72 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.534, allocations: 15.88 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.5344, allocations: 91.89 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.5348, allocations: 268.4 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.5351, allocations: 152.5 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.5353, allocations: 71.59 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.5354, allocations: 91.52 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.5355, allocations: 19.94 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.5355, allocations: 12 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.5356, allocations: 43.72 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.5357, allocations: 103.4 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.5361, allocations: 359.1 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5361, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5361, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5361, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 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.00109/0.5372, allocations: 0.5341 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5373, allocations: 12.03 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.922e-05/0.5373, allocations: 36.56 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.5377, allocations: 264.3 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5378, allocations: 16.75 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.5378, allocations: 20.38 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.5384, allocations: 234.3 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5384, allocations: 3.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.5384, allocations: 12 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5384, allocations: 8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.5389, allocations: 173 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5403, allocations: 0.8482 MB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.5408, allocations: 182.7 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.541, allocations: 92.81 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.5411, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5411, allocations: 34.56 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.5411, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000678/0.5418, allocations: 229.5 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.5419, allocations: 77.11 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.5422, allocations: 239.1 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5422, allocations: 25.7 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5423, allocations: 160.1 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.5424, allocations: 47.36 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.5424, allocations: 25.72 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5426, allocations: 338.8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5428, allocations: 72.81 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.543, allocations: 110.8 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.5434, allocations: 161.1 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5434, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004611/0.5439, allocations: 212.5 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5439, allocations: 4 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5439, allocations: 0 / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.544, allocations: 12.03 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5441, allocations: 39.91 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5442, allocations: 4 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5443, allocations: 27.81 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5443, allocations: 11.94 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000228/0.5446, allocations: 153.6 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/0.5447, allocations: 93.12 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002676/0.545, allocations: 135.3 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.545, allocations: 4.031 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003518/0.5454, allocations: 177.3 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5454, allocations: 5.406 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.5454, allocations: 4 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.5454, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.5456, allocations: 35.86 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5456, allocations: 4 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.5457, allocations: 27.97 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.5457, allocations: 4 kB / 1.076 GB, free: 1.898 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.0001258/0.5458, allocations: 192.1 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.5459, allocations: 15.81 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.546, allocations: 29.33 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.546, allocations: 0 / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.546, allocations: 0 / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.546, allocations: 0 / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.5463, allocations: 309.4 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5464, allocations: 0 / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5465, allocations: 27.97 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5465, allocations: 0 / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.5466, allocations: 7.938 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5466, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5466, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.5472, allocations: 355.1 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5473, allocations: 88.95 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.5473, allocations: 7.938 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5475, allocations: 15.98 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.5476, allocations: 11.98 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5476, allocations: 4 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001734/0.5478, allocations: 172.8 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5478, allocations: 0 / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003917/0.5482, allocations: 67.69 kB / 1.077 GB, free: 0.5312 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.0001267/0.5483, allocations: 101.5 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.5489, allocations: 227.8 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5489, allocations: 0 / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.5491, allocations: 76.38 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.5496, allocations: 36.97 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.5505, allocations: 470.4 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.5508, allocations: 0.7404 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.551, allocations: 17.55 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.551, allocations: 19.38 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.551, allocations: 0 / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.005304/0.5563, allocations: 1.864 MB / 1.081 GB, free: 12.96 MB / 0.8419 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