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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 100.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 214.8 kB / 22.99 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.464/3.464, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 68.59 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003395/0.3716, allocations: 1.946 MB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.3726, allocations: 446.7 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.3727, allocations: 15.88 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.3729, allocations: 43.59 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.373, allocations: 31.67 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3732, allocations: 103.8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.3735, allocations: 296.4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.3738, allocations: 97.12 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3739, allocations: 103.6 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.374, allocations: 91.42 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.374, allocations: 36 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.931e-05/0.3741, allocations: 36 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.3741, allocations: 55.84 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.3742, allocations: 95.52 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.3747, allocations: 394.5 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3747, allocations: 0 / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3747, allocations: 0 / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.3747, allocations: 0 / 1.368 GB, free: 9.809 MB / 1.061 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.000876/0.3755, allocations: 0.4962 MB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3756, allocations: 8.031 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.3756, allocations: 32.73 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.376, allocations: 214.5 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.376, allocations: 16.81 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.3761, allocations: 20.38 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.3766, allocations: 263.9 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3766, allocations: 7.938 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.3766, allocations: 8 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.3766, allocations: 4 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.3771, allocations: 169 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3781, allocations: 0.6857 MB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3787, allocations: 186.7 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3789, allocations: 80.81 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3789, allocations: 4 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3789, allocations: 34.56 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3789, allocations: 0 / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006422/0.3796, allocations: 229.6 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.3796, allocations: 85.05 kB / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3799, allocations: 216.7 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3799, allocations: 25.7 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.38, allocations: 164.2 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3801, allocations: 39.69 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.3801, allocations: 37.67 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3803, allocations: 330.8 kB / 1.372 GB, free: 6.301 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.3805, allocations: 72.77 kB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3807, allocations: 164.4 kB / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.3811, allocations: 159.3 kB / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3811, allocations: 0 / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004524/0.3816, allocations: 205.4 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3816, allocations: 8 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3816, allocations: 0 / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3816, allocations: 4.094 kB / 1.372 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3818, allocations: 43.91 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3818, allocations: 4 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3819, allocations: 27.81 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3819, allocations: 8 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002059/0.3821, allocations: 148.1 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001923/0.3823, allocations: 158.8 kB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002782/0.3826, allocations: 137.6 kB / 1.373 GB, free: 5.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.3826, allocations: 0 / 1.373 GB, free: 5.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003559/0.3829, allocations: 177.5 kB / 1.373 GB, free: 4.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.3829, allocations: 8 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.383, allocations: 8.078 kB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.383, allocations: 0 / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3831, allocations: 31.92 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3831, allocations: 7.938 kB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3832, allocations: 23.88 kB / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3832, allocations: 4 kB / 1.373 GB, free: 4.828 MB / 1.061 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.0001237/0.3833, allocations: 188.9 kB / 1.373 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3834, allocations: 15.91 kB / 1.373 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.3834, allocations: 21.41 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3834, allocations: 11.94 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3834, allocations: 0 / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.3834, allocations: 3.984 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3837, allocations: 201.2 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3837, allocations: 0 / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3839, allocations: 35.91 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3839, allocations: 0 / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3839, allocations: 4 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3839, allocations: 0 / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3839, allocations: 3.938 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.3846, allocations: 351.7 kB / 1.374 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3846, allocations: 23.86 kB / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3846, allocations: 0 / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3847, allocations: 15.98 kB / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3848, allocations: 15.86 kB / 1.374 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3848, allocations: 12 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001541/0.385, allocations: 160.5 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.385, allocations: 0 / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003497/0.3853, allocations: 67.73 kB / 1.374 GB, free: 3.664 MB / 1.061 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.0001324/0.3854, allocations: 103.2 kB / 1.374 GB, free: 3.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005717/0.386, allocations: 222.1 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.386, allocations: 0 / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.3862, allocations: 67.91 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3866, allocations: 38.7 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.3874, allocations: 419.1 kB / 1.375 GB, free: 2.789 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3875, allocations: 126.2 kB / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.3876, allocations: 19.44 kB / 1.375 GB, free: 2.633 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3876, allocations: 4 kB / 1.375 GB, free: 2.629 MB / 1.061 GB Notification: Performance of Templates: time 0.004646/0.3922, allocations: 2.563 MB / 1.377 GB, free: 72 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.073586049955338]