Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001713/0.001713, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001658/0.001658, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.944/2.944, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_11_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_11_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.003781/0.003781, allocations: 68.31 kB / 1.117 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4521, allocations: 169.9 MB / 1.283 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.003673/0.4557, allocations: 0.6701 MB / 1.284 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.4576, allocations: 0.863 MB / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.4577, allocations: 8 kB / 1.285 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.4577, allocations: 0 / 1.285 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.4578, allocations: 3.938 kB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.4581, allocations: 19.92 kB / 1.285 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.4583, allocations: 31.92 kB / 1.285 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.4584, allocations: 7.984 kB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.4585, allocations: 15.92 kB / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.4586, allocations: 11.98 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.4586, allocations: 4 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.4587, allocations: 4 kB / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.4587, allocations: 11.94 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.4587, allocations: 11.98 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.4588, allocations: 35.81 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4589, allocations: 0 / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4589, allocations: 0 / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.4589, allocations: 0 / 1.285 GB, free: 1.859 MB / 0.9825 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.0007118/0.4596, allocations: 274.3 kB / 1.285 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.12e-05/0.4597, allocations: 16.02 kB / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.4597, allocations: 0.9375 kB / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.4599, allocations: 126.4 kB / 1.285 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4599, allocations: 384 / 1.285 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.4599, allocations: 8.312 kB / 1.285 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.4601, allocations: 62.22 kB / 1.285 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4602, allocations: 192 / 1.285 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4602, allocations: 3.938 kB / 1.285 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4602, allocations: 4 kB / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.4604, allocations: 55.94 kB / 1.285 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.4609, allocations: 208.6 kB / 1.285 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.4611, allocations: 62.47 kB / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4613, allocations: 28.89 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.4613, allocations: 15.92 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4613, allocations: 30.56 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4613, allocations: 0 / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005134/0.4618, allocations: 117.5 kB / 1.286 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4619, allocations: 55.34 kB / 1.286 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.462, allocations: 105.8 kB / 1.286 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.462, allocations: 29.83 kB / 1.286 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.4621, allocations: 84.14 kB / 1.286 GB, free: 456 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.4621, allocations: 7.953 kB / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.4622, allocations: 9.719 kB / 1.286 GB, free: 432 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4624, allocations: 322.8 kB / 1.286 GB, free: 100 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4625, allocations: 36.77 kB / 1.286 GB, free: 60 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4627, allocations: 63.39 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.4629, allocations: 60.89 kB / 1.286 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4629, allocations: 0 / 1.286 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002901/0.4632, allocations: 93.52 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4632, allocations: 8 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.4632, allocations: 4.031 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4632, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4634, allocations: 15.97 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4634, allocations: 0 / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.4635, allocations: 11.98 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.4635, allocations: 0 / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001421/0.4636, allocations: 100.1 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001271/0.4637, allocations: 63.39 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001364/0.4639, allocations: 36.77 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.4639, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001889/0.4641, allocations: 69.59 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.4641, allocations: 7.938 kB / 1.287 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.81e-07/0.4641, allocations: 4 kB / 1.287 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-06/0.4641, allocations: 4.125 kB / 1.287 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.4641, allocations: 4 kB / 1.287 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4641, allocations: 7.969 kB / 1.287 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.4642, allocations: 11.98 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-06/0.4642, allocations: 0 / 1.287 GB, free: 15.46 MB / 0.9981 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.0001497/0.4643, allocations: 184.3 kB / 1.287 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4644, allocations: 7.891 kB / 1.287 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.4644, allocations: 3.625 kB / 1.287 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4644, allocations: 0 / 1.287 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4644, allocations: 8.25 kB / 1.287 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4644, allocations: 0 / 1.287 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.4646, allocations: 109.3 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4646, allocations: 0 / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.4647, allocations: 11.98 kB / 1.287 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4647, allocations: 7.938 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4647, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4647, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4647, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.465, allocations: 187.4 kB / 1.287 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.465, allocations: 11.89 kB / 1.287 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4651, allocations: 0 / 1.287 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4651, allocations: 11.98 kB / 1.287 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.4652, allocations: 7.984 kB / 1.287 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4652, allocations: 3.938 kB / 1.287 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.4653, allocations: 79.28 kB / 1.287 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4653, allocations: 4.031 kB / 1.287 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002643/0.4655, allocations: 12 kB / 1.287 GB, free: 14.77 MB / 0.9981 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.0001584/0.4657, allocations: 91.25 kB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.4661, allocations: 83.84 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4661, allocations: 0 / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4662, allocations: 32.09 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4665, allocations: 7.938 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.4669, allocations: 129.5 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.467, allocations: 63.34 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.467, allocations: 0 / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4671, allocations: 15.5 kB / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.9e-07/0.4671, allocations: 0 / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.003496/0.4706, allocations: 0.6554 MB / 1.289 GB, free: 13.66 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.49893039278686]