Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001361/0.001361, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001493/0.001493, allocations: 159.9 kB / 23.01 MB, free: 4.965 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.683/2.683, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.002282/0.002282, allocations: 71.88 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.36, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001965/0.362, allocations: 0.5753 MB / 1.118 GB, free: 1.965 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.246e-05/0.3621, allocations: 8 kB / 1.118 GB, free: 1.957 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.3621, allocations: 4 kB / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.3621, allocations: 3.938 kB / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.3621, allocations: 0 / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.007e-05/0.3622, allocations: 0 / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.3622, allocations: 0 / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.3623, allocations: 4 kB / 1.118 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.3623, allocations: 8 kB / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.3623, allocations: 0 / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3623, allocations: 0 / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-06/0.3623, allocations: 0 / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.3623, allocations: 3.938 kB / 1.118 GB, free: 1.934 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.3623, allocations: 4 kB / 1.118 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.796e-05/0.3624, allocations: 3.984 kB / 1.118 GB, free: 1.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3624, allocations: 4 kB / 1.118 GB, free: 1.922 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3624, allocations: 0 / 1.118 GB, free: 1.922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3624, allocations: 0 / 1.118 GB, free: 1.922 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000311/0.3627, allocations: 234.4 kB / 1.118 GB, free: 1.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3628, allocations: 12.03 kB / 1.118 GB, free: 1.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.3628, allocations: 0.9375 kB / 1.118 GB, free: 1.648 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3629, allocations: 110.5 kB / 1.118 GB, free: 1.516 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3629, allocations: 4.375 kB / 1.118 GB, free: 1.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.3629, allocations: 4.359 kB / 1.118 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.618e-05/0.363, allocations: 30.2 kB / 1.118 GB, free: 1.473 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.363, allocations: 8.125 kB / 1.118 GB, free: 1.465 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.363, allocations: 3.938 kB / 1.118 GB, free: 1.461 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.363, allocations: 0 / 1.118 GB, free: 1.461 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.363, allocations: 4 kB / 1.118 GB, free: 1.457 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.3634, allocations: 331.1 kB / 1.119 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3635, allocations: 177.1 kB / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3635, allocations: 80.14 kB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.3636, allocations: 79.22 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.3636, allocations: 109.8 kB / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3636, allocations: 0 / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.3637, allocations: 29.7 kB / 1.119 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.3638, allocations: 130.7 kB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.3639, allocations: 93.8 kB / 1.119 GB, free: 372 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3639, allocations: 29.83 kB / 1.119 GB, free: 336 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.3639, allocations: 88.12 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.3639, allocations: 0 / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.3639, allocations: 9.719 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3641, allocations: 314.8 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.3641, allocations: 0 / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.3641, allocations: 0 / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.3642, allocations: 79.28 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.3642, allocations: 75.28 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.491e-05/0.3643, allocations: 29.64 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.3643, allocations: 83.28 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.3643, allocations: 87.22 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.232e-05/0.3644, allocations: 150.6 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.3645, allocations: 83.22 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-05/0.3645, allocations: 154.5 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.3646, allocations: 75.28 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.3647, allocations: 79.22 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001405/0.3648, allocations: 264.4 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.3649, allocations: 104.9 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.3649, allocations: 116 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.365, allocations: 180.2 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.752e-05/0.3651, allocations: 184.3 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.673e-05/0.3652, allocations: 184.5 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3654, allocations: 348.9 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.084e-05/0.3655, allocations: 116.9 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.3655, allocations: 101 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/0.3656, allocations: 180.2 kB / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.219e-05/0.3657, allocations: 184.2 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.3658, allocations: 180.3 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-05/0.3659, allocations: 188.1 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.366, allocations: 295.8 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.3661, allocations: 120.8 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.3662, allocations: 184.2 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.3663, allocations: 108.9 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.3664, allocations: 180.3 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.3664, allocations: 101 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3665, allocations: 83.22 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3665, allocations: 0 / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002583/0.3667, allocations: 0 / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0001429/0.3669, allocations: 170.5 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 3.925e-05/0.3669, allocations: 12.08 kB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3669, allocations: 0 / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3669, allocations: 0 / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3673, allocations: 455.7 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.3676, allocations: 156.1 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.3676, allocations: 55.36 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.893e-06/0.3676, allocations: 3.938 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.3677, allocations: 8.5 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3677, allocations: 0 / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of Templates: time 0.002091/0.3697, allocations: 156.6 kB / 1.125 GB, free: 10.44 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 8.596386131015606]