Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001694/0.001694, allocations: 123.8 kB / 17.13 MB, free: 5.93 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.002092/0.002092, allocations: 213.8 kB / 20.1 MB, free: 2.98 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.883/2.883, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002077/0.002077, allocations: 79.88 kB / 1.15 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9742/0.9763, allocations: 176.1 MB / 1.322 GB, free: 7.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001976/0.9783, allocations: 0.6778 MB / 1.323 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.9795, allocations: 0.8704 MB / 1.324 GB, free: 6.609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.9795, allocations: 1.281 kB / 1.324 GB, free: 6.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.9795, allocations: 0 / 1.324 GB, free: 6.609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.9796, allocations: 3.938 kB / 1.324 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.9798, allocations: 27.78 kB / 1.324 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.9798, allocations: 32.89 kB / 1.324 GB, free: 6.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.9799, allocations: 7.844 kB / 1.324 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.98, allocations: 15.67 kB / 1.324 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.9801, allocations: 16.64 kB / 1.324 GB, free: 6.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.9801, allocations: 2.719 kB / 1.324 GB, free: 6.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.9801, allocations: 4.125 kB / 1.324 GB, free: 6.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.9801, allocations: 7.984 kB / 1.324 GB, free: 6.527 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.9802, allocations: 14.8 kB / 1.324 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.9803, allocations: 33.28 kB / 1.324 GB, free: 6.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9803, allocations: 0 / 1.324 GB, free: 6.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9803, allocations: 0 / 1.324 GB, free: 6.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9803, allocations: 5.125 kB / 1.324 GB, free: 6.488 MB / 1.014 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.0005961/0.9809, allocations: 360.1 kB / 1.324 GB, free: 6.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.9809, allocations: 13.52 kB / 1.324 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.981, allocations: 5.984 kB / 1.324 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.9811, allocations: 162.6 kB / 1.324 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.9811, allocations: 5.375 kB / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.9811, allocations: 2.5 kB / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.9814, allocations: 72.59 kB / 1.324 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9814, allocations: 192 / 1.324 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.9814, allocations: 3.938 kB / 1.324 GB, free: 5.844 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.9814, allocations: 1.062 kB / 1.324 GB, free: 5.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.9817, allocations: 50.69 kB / 1.324 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.9821, allocations: 273.4 kB / 1.325 GB, free: 5.523 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.9823, allocations: 62.88 kB / 1.325 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.9825, allocations: 32.14 kB / 1.325 GB, free: 5.457 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.9825, allocations: 8.906 kB / 1.325 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.9825, allocations: 31.94 kB / 1.325 GB, free: 5.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.9825, allocations: 0 / 1.325 GB, free: 5.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0005109/0.983, allocations: 110.8 kB / 1.325 GB, free: 5.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.9831, allocations: 56.34 kB / 1.325 GB, free: 5.277 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.9832, allocations: 106 kB / 1.325 GB, free: 5.172 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.9832, allocations: 25.7 kB / 1.325 GB, free: 5.141 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.9832, allocations: 85.45 kB / 1.325 GB, free: 5.055 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.9833, allocations: 5.359 kB / 1.325 GB, free: 5.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.9833, allocations: 16.17 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9834, allocations: 315.9 kB / 1.325 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.9836, allocations: 42.11 kB / 1.325 GB, free: 4.688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.9837, allocations: 42.75 kB / 1.325 GB, free: 4.656 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.984, allocations: 59.98 kB / 1.326 GB, free: 4.625 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.984, allocations: 0 / 1.326 GB, free: 4.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002876/0.9843, allocations: 93.75 kB / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9843, allocations: 5 kB / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9843, allocations: 0 / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9843, allocations: 1.094 kB / 1.326 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.9844, allocations: 12.55 kB / 1.326 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.9844, allocations: 4.031 kB / 1.326 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.9845, allocations: 11.83 kB / 1.326 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.9845, allocations: 13.3 kB / 1.326 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000129/0.9846, allocations: 101.5 kB / 1.326 GB, free: 4.445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.355e-05/0.9847, allocations: 32.67 kB / 1.326 GB, free: 4.418 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001504/0.9849, allocations: 40.33 kB / 1.326 GB, free: 4.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.9849, allocations: 0 / 1.326 GB, free: 4.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001968/0.9851, allocations: 73.52 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.9851, allocations: 4.219 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-06/0.9851, allocations: 1.125 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-06/0.9851, allocations: 0 / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.9851, allocations: 18.75 kB / 1.326 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.9851, allocations: 3.938 kB / 1.326 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.9852, allocations: 15.48 kB / 1.326 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-06/0.9852, allocations: 0 / 1.326 GB, free: 4.316 MB / 1.014 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.0001064/0.9853, allocations: 181.9 kB / 1.326 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.9853, allocations: 1.312 kB / 1.326 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.9854, allocations: 4.938 kB / 1.326 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9854, allocations: 0 / 1.326 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9854, allocations: 7.984 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9854, allocations: 1.312 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.9856, allocations: 167 kB / 1.326 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9856, allocations: 4.953 kB / 1.326 GB, free: 3.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.9856, allocations: 12.98 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.9856, allocations: 0 / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.9857, allocations: 0 / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9857, allocations: 1.406 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9857, allocations: 0 / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.986, allocations: 186.7 kB / 1.327 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.986, allocations: 86.52 kB / 1.327 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.9861, allocations: 1.312 kB / 1.327 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.9861, allocations: 9.359 kB / 1.327 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.9862, allocations: 1.188 kB / 1.327 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.9862, allocations: 9.281 kB / 1.327 GB, free: 3.621 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.9862, allocations: 88.89 kB / 1.327 GB, free: 3.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9862, allocations: 0 / 1.327 GB, free: 3.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002654/0.9865, allocations: 6.562 kB / 1.327 GB, free: 3.539 MB / 1.014 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.0001503/0.9867, allocations: 97.19 kB / 1.327 GB, free: 3.453 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.987, allocations: 77.2 kB / 1.327 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.987, allocations: 0 / 1.327 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.9872, allocations: 41.36 kB / 1.327 GB, free: 3.398 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.9875, allocations: 12.72 kB / 1.327 GB, free: 3.391 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.9879, allocations: 149.4 kB / 1.327 GB, free: 3.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.9883, allocations: 0.677 MB / 1.328 GB, free: 2.547 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.9883, allocations: 8.875 kB / 1.328 GB, free: 2.539 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.9883, allocations: 1.438 kB / 1.328 GB, free: 2.539 MB / 1.014 GB Notification: Performance of Templates: time 0.002235/0.9905, allocations: 0.624 MB / 1.328 GB, free: 2.227 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.23160257199197]