Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001851/0.001851, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002372/0.002372, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.311/3.311, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [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.002187/0.002187, allocations: 70.89 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3584, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001932/0.3603, allocations: 0.6844 MB / 1.355 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3614, allocations: 0.8709 MB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3615, allocations: 0 / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.3615, allocations: 3.938 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.3615, allocations: 4 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3617, allocations: 15.92 kB / 1.356 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.3618, allocations: 31.92 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.3619, allocations: 3.984 kB / 1.356 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.362, allocations: 19.94 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.362, allocations: 19.91 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.362, allocations: 4 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.362, allocations: 4 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.3621, allocations: 11.98 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.3621, allocations: 7.938 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.135e-05/0.3622, allocations: 35.83 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3622, allocations: 0 / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3622, allocations: 0 / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3622, allocations: 0 / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005208/0.3627, allocations: 278.3 kB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3627, allocations: 12.03 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.3628, allocations: 8.891 kB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3629, allocations: 118.4 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3629, allocations: 4.375 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3629, allocations: 384 / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.3632, allocations: 62.22 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3632, allocations: 192 / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3632, allocations: 3.938 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3632, allocations: 3.938 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.3634, allocations: 59.94 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3638, allocations: 240 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3641, allocations: 70.34 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3642, allocations: 32.89 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3642, allocations: 0 / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3643, allocations: 34.56 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3643, allocations: 0 / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004664/0.3647, allocations: 113.5 kB / 1.357 GB, free: 5.047 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3648, allocations: 51.41 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.3648, allocations: 105.8 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3649, allocations: 29.7 kB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3649, allocations: 80.14 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3649, allocations: 12.08 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.365, allocations: 17.7 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3651, allocations: 314.8 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3653, allocations: 32.83 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3654, allocations: 41.69 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3656, allocations: 61.05 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3656, allocations: 0 / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002773/0.3659, allocations: 105.6 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3659, allocations: 6.812 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3659, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3659, allocations: 4 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.366, allocations: 11.98 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.366, allocations: 0 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.3661, allocations: 11.98 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3661, allocations: 0 / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001294/0.3663, allocations: 112.1 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.199e-05/0.3663, allocations: 21.7 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001381/0.3665, allocations: 36.83 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.3665, allocations: 0 / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000202/0.3667, allocations: 85.58 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-06/0.3667, allocations: 4 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.3667, allocations: 0 / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-06/0.3667, allocations: 0 / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.3667, allocations: 11.98 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.3667, allocations: 0 / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.3668, allocations: 11.98 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-06/0.3668, allocations: 3.938 kB / 1.358 GB, free: 3.816 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0001085/0.3669, allocations: 188.2 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.3669, allocations: 7.984 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.367, allocations: 11.56 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.367, allocations: 0 / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.367, allocations: 0 / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.367, allocations: 0 / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3672, allocations: 136.7 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3672, allocations: 0 / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.3672, allocations: 15.97 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3672, allocations: 4 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.3672, allocations: 0 / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3673, allocations: 4 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3673, allocations: 0 / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3676, allocations: 187.3 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.3676, allocations: 4.031 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3676, allocations: 3.984 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3677, allocations: 11.98 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3678, allocations: 4 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3678, allocations: 4 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.3678, allocations: 79.28 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3678, allocations: 0 / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002684/0.3681, allocations: 8 kB / 1.359 GB, free: 3.094 MB / 1.045 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 (2): * Single equations (assignments): 2 * 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.0001212/0.3682, allocations: 106 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3686, allocations: 79.86 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3686, allocations: 0 / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3687, allocations: 32.09 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.369, allocations: 13.64 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3694, allocations: 147.3 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3697, allocations: 0.6768 MB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3697, allocations: 15.44 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3697, allocations: 0 / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of Templates: time 0.002167/0.3719, allocations: 0.6263 MB / 1.36 GB, free: 1.344 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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: 11.421959807019448]