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.000907/0.0009073, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009765/0.0009765, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003807, allocations: 8.844 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4035, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002884/0.4064, allocations: 1.723 MB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4076, allocations: 434.7 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.408, allocations: 4 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.4083, allocations: 27.72 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.4085, allocations: 23.86 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.4089, allocations: 91.88 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.4094, allocations: 252.5 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.4098, allocations: 156.5 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.41, allocations: 63.59 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.4102, allocations: 71.5 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4102, allocations: 7.938 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.4102, allocations: 8 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.4103, allocations: 31.78 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.4104, allocations: 105.1 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.4108, allocations: 347 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4109, allocations: 4 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4109, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.4109, allocations: 4 kB / 1.062 GB, free: 2.168 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.001123/0.412, allocations: 0.5107 MB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.4121, allocations: 12.03 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.4122, allocations: 28.59 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.4127, allocations: 265.5 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.4127, allocations: 16.81 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.4128, allocations: 16.38 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.4134, allocations: 246.3 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4134, allocations: 3.938 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.4134, allocations: 8 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4134, allocations: 7.984 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.4139, allocations: 189 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.4153, allocations: 0.8638 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.4158, allocations: 198.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.4161, allocations: 105 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4161, allocations: 11.98 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4162, allocations: 30.56 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.4162, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007498/0.4169, allocations: 257.5 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.417, allocations: 77.11 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.4173, allocations: 239.2 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.4174, allocations: 33.7 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4175, allocations: 152.1 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.4176, allocations: 43.34 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.4176, allocations: 29.7 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4178, allocations: 330.8 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.418, allocations: 71.95 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.4182, allocations: 113.1 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.4186, allocations: 187.3 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4186, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004968/0.4191, allocations: 217.4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.4192, allocations: 123.5 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4192, allocations: 7.938 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4192, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4194, allocations: 43.97 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4194, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4196, allocations: 39.73 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.4196, allocations: 8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4196, allocations: 5.719 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003259/0.42, allocations: 150.3 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.42, allocations: 96 / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.42, allocations: 8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4201, allocations: 27.98 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.4201, allocations: 4 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4202, allocations: 27.86 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4203, allocations: 4 kB / 1.066 GB, free: 13.23 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.0001741/0.4204, allocations: 226.6 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4205, allocations: 23.72 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.4206, allocations: 21.41 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4206, allocations: 0 / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4206, allocations: 3.938 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4206, allocations: 3.984 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.4209, allocations: 293.5 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4209, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.4211, allocations: 47.91 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4211, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4211, allocations: 7.875 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4211, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.4212, allocations: 3.938 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.4219, allocations: 379.2 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.4219, allocations: 100.9 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.422, allocations: 0 / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4221, allocations: 19.98 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.4222, allocations: 11.92 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4222, allocations: 4 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001558/0.4224, allocations: 172.7 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4224, allocations: 64 / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003436/0.4227, allocations: 63.75 kB / 1.068 GB, free: 11.79 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.0001582/0.4229, allocations: 107.1 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006184/0.4235, allocations: 247.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4235, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.4237, allocations: 80.33 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.4242, allocations: 38.27 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.425, allocations: 488.6 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4253, allocations: 0.7404 MB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.248e-05/0.4254, allocations: 17.53 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.4255, allocations: 19.44 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4255, allocations: 0 / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of Templates: time 0.004946/0.4305, allocations: 1.835 MB / 1.071 GB, free: 8.191 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