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.001468/0.001468, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001591/0.001591, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.766 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.637/3.637, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002191/0.002191, allocations: 62.38 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4613, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002264/0.4635, allocations: 0.6711 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.4648, allocations: 0.8669 MB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.4648, allocations: 0 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.4649, allocations: 0 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.4649, allocations: 3.938 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.4651, allocations: 23.92 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.4652, allocations: 39.86 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4653, allocations: 3.984 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.4654, allocations: 15.92 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.4654, allocations: 15.98 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.4654, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.4655, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.4655, allocations: 7.938 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.4655, allocations: 15.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.4656, allocations: 35.88 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4656, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4656, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4656, allocations: 0 / 1.366 GB, free: 11.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005857/0.4662, allocations: 278.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.4663, allocations: 12.02 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.4663, allocations: 4.938 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4664, allocations: 110.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4664, allocations: 4.375 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.4664, allocations: 8.312 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.4667, allocations: 66.22 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4667, allocations: 192 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4667, allocations: 7.922 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4667, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.4669, allocations: 51.94 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.4674, allocations: 208.6 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.4676, allocations: 62.47 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.4677, allocations: 32.89 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4677, allocations: 3.938 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4677, allocations: 34.56 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4677, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004791/0.4682, allocations: 117.6 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4683, allocations: 51.41 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.4684, allocations: 109.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4684, allocations: 25.7 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.4684, allocations: 84.14 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4685, allocations: 7.953 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.4685, allocations: 13.84 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4687, allocations: 318.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4688, allocations: 32.83 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.4689, allocations: 71.39 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4692, allocations: 60.89 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4692, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002765/0.4694, allocations: 97.72 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4695, allocations: 7.938 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4695, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4695, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4696, allocations: 19.97 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4696, allocations: 7.969 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.4697, allocations: 11.98 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4697, allocations: 4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001249/0.4698, allocations: 96.78 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001009/0.4699, allocations: 59.39 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001396/0.4701, allocations: 40.92 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.4701, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001856/0.4702, allocations: 69.59 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.4702, allocations: 7.938 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.4702, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-06/0.4703, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.4703, allocations: 8 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.4703, allocations: 3.984 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.4704, allocations: 12.02 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4704, allocations: 4 kB / 1.368 GB, free: 9.402 MB / 1.061 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.0001768/0.4705, allocations: 176.3 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.4706, allocations: 7.938 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.4706, allocations: 7.625 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4706, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4706, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4706, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4708, allocations: 113.3 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4708, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.4709, allocations: 15.98 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4709, allocations: 3.938 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4709, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4709, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4709, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.4712, allocations: 187.4 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.4712, allocations: 7.969 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4712, allocations: 0 / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.4713, allocations: 11.98 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4713, allocations: 7.984 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4713, allocations: 0 / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.4714, allocations: 83.28 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4714, allocations: 4 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002592/0.4717, allocations: 7.938 kB / 1.368 GB, free: 8.719 MB / 1.061 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.0001575/0.4718, allocations: 99.25 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4722, allocations: 87.78 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4722, allocations: 0 / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4723, allocations: 27.97 kB / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4726, allocations: 4.188 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.4731, allocations: 133.5 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.4731, allocations: 63.34 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.4732, allocations: 0 / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4732, allocations: 11.44 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4732, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of Templates: time 0.003331/0.4765, allocations: 0.6574 MB / 1.369 GB, free: 7.605 MB / 1.061 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/jenkins/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: 10.04013068601489]