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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009683/0.0009683, allocations: 92.55 kB / 16.02 MB, free: 80 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.001221/0.001221, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004043, allocations: 15.94 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8638, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002836/0.8667, allocations: 1.725 MB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.8679, allocations: 426.7 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.8683, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.8685, allocations: 31.72 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.8688, allocations: 23.84 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.8691, allocations: 83.89 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.8696, allocations: 260.5 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.8699, allocations: 152.5 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.8701, allocations: 63.59 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.8702, allocations: 63.52 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.8703, allocations: 8 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.545e-05/0.8703, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.8704, allocations: 39.77 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.8705, allocations: 113.1 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.8709, allocations: 301.1 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8709, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8709, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.8709, allocations: 4 kB / 1.027 GB, free: 12.55 MB / 0.7794 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.0009796/0.8719, allocations: 0.5108 MB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.872, allocations: 11.97 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.8721, allocations: 32.64 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.8725, allocations: 272.2 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.8726, allocations: 12.81 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.8726, allocations: 20.38 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.8732, allocations: 246.3 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8732, allocations: 3.938 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.8732, allocations: 8 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.8733, allocations: 8 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.8738, allocations: 193 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.8752, allocations: 0.8483 MB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.8757, allocations: 202.7 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.876, allocations: 101 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.876, allocations: 3.938 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.8761, allocations: 42.56 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.8761, allocations: 0 / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0007185/0.8768, allocations: 249.3 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.8769, allocations: 85.05 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.8772, allocations: 239.1 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8772, allocations: 25.7 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.8773, allocations: 156.2 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.8774, allocations: 47.34 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.8774, allocations: 17.72 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.8776, allocations: 330.8 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.8778, allocations: 75.91 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.878, allocations: 122.2 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.8785, allocations: 175.3 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8785, allocations: 0 / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005031/0.879, allocations: 221.5 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/0.8791, allocations: 119.4 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8791, allocations: 0 / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8791, allocations: 8 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.8793, allocations: 39.91 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.8793, allocations: 7.984 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.8795, allocations: 35.83 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.8795, allocations: 4 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.8795, allocations: 8 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003452/0.8799, allocations: 151.8 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8799, allocations: 0 / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-06/0.8799, allocations: 0 / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.88, allocations: 40.06 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.8801, allocations: 0 / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8802, allocations: 39.7 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.8802, allocations: 4 kB / 1.031 GB, free: 7.609 MB / 0.7794 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.0001743/0.8804, allocations: 213.6 kB / 1.032 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.8804, allocations: 19.72 kB / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.8805, allocations: 29.39 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8805, allocations: 4 kB / 1.032 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.8805, allocations: 7.938 kB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8805, allocations: 3.984 kB / 1.032 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.8809, allocations: 301.4 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8809, allocations: 0 / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.8811, allocations: 27.98 kB / 1.032 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8811, allocations: 0 / 1.032 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.8811, allocations: 8 kB / 1.032 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8811, allocations: 3.938 kB / 1.032 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8811, allocations: 3.938 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.8818, allocations: 379.1 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.8819, allocations: 92.95 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.882, allocations: 4.062 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.8821, allocations: 19.98 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.8822, allocations: 15.92 kB / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.8822, allocations: 4 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001856/0.8824, allocations: 168.5 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8824, allocations: 4 kB / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003662/0.8827, allocations: 67.69 kB / 1.033 GB, free: 6.172 MB / 0.7794 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.0001398/0.8829, allocations: 103.2 kB / 1.033 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.8835, allocations: 248.3 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8836, allocations: 0 / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.8838, allocations: 84.27 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.8842, allocations: 32.88 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.8852, allocations: 0.4965 MB / 1.034 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.8856, allocations: 0.7481 MB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.8856, allocations: 23.42 kB / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.8856, allocations: 0 / 1.034 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.005755/0.8914, allocations: 2.532 MB / 1.037 GB, free: 1.855 MB / 0.7794 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