Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001411/0.001411, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001323/0.001323, allocations: 187 kB / 17.34 MB, free: 5.723 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.23, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003363/1.233, allocations: 2.05 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009/1.234, allocations: 450.7 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/1.234, allocations: 7.938 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/1.234, allocations: 39.59 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/1.234, allocations: 39.66 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/1.235, allocations: 99.86 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/1.235, allocations: 292.4 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/1.235, allocations: 148.5 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/1.235, allocations: 103.6 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/1.236, allocations: 107.4 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/1.236, allocations: 32 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.73e-05/1.236, allocations: 36 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/1.236, allocations: 59.83 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/1.236, allocations: 123.3 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/1.236, allocations: 382.5 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.236, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.595e-06/1.236, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.697e-06/1.236, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 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.000925/1.237, allocations: 0.5398 MB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.237, allocations: 8.031 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/1.237, allocations: 32.5 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/1.238, allocations: 277.4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/1.238, allocations: 12.81 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/1.238, allocations: 24.38 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/1.238, allocations: 234.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.238, allocations: 3.938 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/1.238, allocations: 11.98 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.238, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/1.239, allocations: 173 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/1.24, allocations: 0.8327 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/1.24, allocations: 190.6 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/1.241, allocations: 88.81 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/1.241, allocations: 7.984 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.241, allocations: 34.56 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/1.241, allocations: 4 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.000586/1.241, allocations: 229.2 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/1.241, allocations: 81.31 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/1.242, allocations: 243.1 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.242, allocations: 25.7 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/1.242, allocations: 156.2 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/1.242, allocations: 39.36 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/1.242, allocations: 37.7 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.242, allocations: 330.8 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.242, allocations: 60.83 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/1.242, allocations: 117.1 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/1.243, allocations: 160.1 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.243, allocations: 0 / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004127/1.243, allocations: 214.3 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.243, allocations: 10.5 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.243, allocations: 0 / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.243, allocations: 8.031 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/1.243, allocations: 35.97 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.243, allocations: 4 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/1.243, allocations: 23.83 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.243, allocations: 8 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001962/1.244, allocations: 156.1 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001385/1.244, allocations: 105 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002433/1.244, allocations: 133 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/1.244, allocations: 4.031 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003172/1.244, allocations: 177.4 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/1.244, allocations: 4 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/1.244, allocations: 4 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-06/1.244, allocations: 3.938 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/1.245, allocations: 35.86 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.245, allocations: 0 / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.245, allocations: 35.86 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.245, allocations: 4 kB / 1.176 GB, free: 10.71 MB / 0.9044 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.0001181/1.245, allocations: 184.3 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.245, allocations: 19.8 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/1.245, allocations: 25.34 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.245, allocations: 4 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.245, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.245, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/1.245, allocations: 313.3 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.245, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/1.245, allocations: 31.91 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.245, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.245, allocations: 11.94 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.245, allocations: 0 / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.245, allocations: 0 / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/1.246, allocations: 344.4 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/1.246, allocations: 96.94 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/1.246, allocations: 7.938 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/1.246, allocations: 11.98 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/1.246, allocations: 15.92 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.246, allocations: 4 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001593/1.247, allocations: 176.5 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/1.247, allocations: 0 / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003429/1.247, allocations: 63.69 kB / 1.177 GB, free: 9.336 MB / 0.9044 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.0001356/1.247, allocations: 103.2 kB / 1.177 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005308/1.248, allocations: 219.8 kB / 1.177 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.248, allocations: 0 / 1.177 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.248, allocations: 71.91 kB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/1.248, allocations: 37 kB / 1.178 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/1.249, allocations: 418.9 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/1.249, allocations: 0.7363 MB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/1.249, allocations: 27.38 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of SimCode: time 1.91e-07/1.249, allocations: 0 / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of Templates: time 0.004391/1.254, allocations: 2.574 MB / 1.181 GB, free: 5.105 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches