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.001088/0.001094, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001302/0.001302, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.045/3.045, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 10.84 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4087, allocations: 159.6 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002516/0.4113, allocations: 1.665 MB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.4122, allocations: 407 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.4124, allocations: 7.938 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.4126, allocations: 23.78 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4127, allocations: 23.8 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.4129, allocations: 51.94 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.4132, allocations: 252.5 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.4135, allocations: 114.8 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.4136, allocations: 51.67 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4137, allocations: 67.56 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.4137, allocations: 4 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.4138, allocations: 8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.4138, allocations: 31.78 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.4139, allocations: 61.58 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.4142, allocations: 307.5 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4142, allocations: 0 / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4142, allocations: 0 / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4142, allocations: 0 / 1.061 GB, free: 2.188 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.0009454/0.4152, allocations: 0.5028 MB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4152, allocations: 12.03 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.4153, allocations: 27.66 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.4157, allocations: 259.1 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.4157, allocations: 16.44 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.4158, allocations: 19.95 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.4164, allocations: 253.7 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4164, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.4164, allocations: 4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4164, allocations: 4 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.4169, allocations: 197 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.4182, allocations: 0.8522 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.4188, allocations: 210.6 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.419, allocations: 96.81 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4191, allocations: 7.938 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4191, allocations: 34.56 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.4191, allocations: 0 / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006578/0.4198, allocations: 257.4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4198, allocations: 81.11 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.4201, allocations: 239.2 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4202, allocations: 29.7 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4203, allocations: 156.1 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4203, allocations: 39.39 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.4204, allocations: 4 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4205, allocations: 326.8 kB / 1.064 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.4207, allocations: 75.86 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.4209, allocations: 113.1 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.4211, allocations: 91.92 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4211, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004348/0.4216, allocations: 215.1 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.4217, allocations: 122.1 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4217, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4217, allocations: 7.984 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4219, allocations: 51.92 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4219, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.422, allocations: 39.8 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.422, allocations: 4 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.422, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003121/0.4224, allocations: 151.9 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4224, allocations: 3.938 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.4224, allocations: 3.938 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4225, allocations: 31.98 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.4225, allocations: 0 / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.4226, allocations: 35.92 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4226, allocations: 4 kB / 1.065 GB, free: 13.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.4228, allocations: 221 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.4229, allocations: 15.81 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.4229, allocations: 21.39 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4229, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4229, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4229, allocations: 4 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.4233, allocations: 309.3 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4233, allocations: 0 / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4234, allocations: 31.97 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4235, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4235, allocations: 8 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4235, allocations: 3.938 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4235, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.4241, allocations: 379.1 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4242, allocations: 104.8 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4242, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4243, allocations: 28.05 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.4244, allocations: 7.984 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4244, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001609/0.4246, allocations: 168.7 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4246, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003432/0.4249, allocations: 59.75 kB / 1.067 GB, free: 11.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.4251, allocations: 103.2 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.4256, allocations: 245.7 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4257, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4258, allocations: 79.91 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.4263, allocations: 44.72 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.4271, allocations: 456.8 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4274, allocations: 0.7326 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.4275, allocations: 25.48 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.4276, allocations: 23.42 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4276, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of Templates: time 0.005084/0.4327, allocations: 1.789 MB / 1.07 GB, free: 8.441 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