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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001042/0.001042, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 12.11 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4319, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002619/0.4346, allocations: 1.731 MB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.4354, allocations: 426.7 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.4356, allocations: 4 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.4357, allocations: 31.72 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.957e-05/0.4358, allocations: 23.8 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.4361, allocations: 79.95 kB / 1.062 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.4364, allocations: 268.4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.4367, allocations: 144.5 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.4368, allocations: 59.59 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4369, allocations: 75.44 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.4369, allocations: 4 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.4369, allocations: 8 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.437, allocations: 31.78 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.134e-05/0.4371, allocations: 113.1 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.4374, allocations: 299.5 kB / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4374, allocations: 0 / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4374, allocations: 0 / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4374, allocations: 0 / 1.063 GB, free: 1.668 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.0007863/0.4382, allocations: 0.5145 MB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4382, allocations: 11.97 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.4383, allocations: 36.64 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4387, allocations: 264.3 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4387, allocations: 12.81 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.4388, allocations: 20.38 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.4392, allocations: 246.3 kB / 1.064 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4393, allocations: 3.938 kB / 1.064 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.4393, allocations: 12 kB / 1.064 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4393, allocations: 4 kB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.4398, allocations: 193 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.4409, allocations: 0.8522 MB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.4415, allocations: 210.6 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.4417, allocations: 104.8 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4417, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4418, allocations: 46.5 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.4418, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006712/0.4425, allocations: 265.1 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4425, allocations: 77.11 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.4428, allocations: 239.4 kB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4428, allocations: 25.7 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4429, allocations: 160 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.443, allocations: 43.36 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.443, allocations: 17.72 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4431, allocations: 334.8 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.4433, allocations: 71.97 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.4435, allocations: 122.5 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.4439, allocations: 175.3 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4439, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004697/0.4444, allocations: 224.5 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/0.4445, allocations: 119.5 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4445, allocations: 0 / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4445, allocations: 4 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.4447, allocations: 39.97 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4447, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4449, allocations: 43.73 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4449, allocations: 4 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.4449, allocations: 5.562 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003197/0.4452, allocations: 155.9 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.4452, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.4453, allocations: 4 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.4454, allocations: 31.97 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4454, allocations: 4 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4455, allocations: 23.86 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4455, allocations: 8 kB / 1.067 GB, free: 12.72 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.0001645/0.4457, allocations: 217.1 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.4457, allocations: 19.72 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.4458, allocations: 29.39 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4458, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4458, allocations: 3.938 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4458, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.4462, allocations: 301.5 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4462, allocations: 3.938 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4463, allocations: 35.92 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4463, allocations: 4 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4464, allocations: 0 / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4464, allocations: 0 / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4464, allocations: 7.875 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.4471, allocations: 383.1 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.4472, allocations: 96.89 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4472, allocations: 4 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4474, allocations: 15.98 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.4474, allocations: 19.92 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4474, allocations: 4 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001549/0.4476, allocations: 180.5 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4476, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003372/0.4479, allocations: 63.75 kB / 1.068 GB, free: 11.27 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.0001254/0.4481, allocations: 99.19 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006136/0.4487, allocations: 247.8 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4487, allocations: 384 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.4489, allocations: 79.95 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4493, allocations: 36.59 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.4501, allocations: 0.5022 MB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4505, allocations: 0.7365 MB / 1.07 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.4505, allocations: 23.42 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.4505, allocations: 0 / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.004473/0.455, allocations: 2.525 MB / 1.073 GB, free: 6.965 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/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