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.00136/0.00136, allocations: 110.2 kB / 19.69 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.001611/0.001611, allocations: 211.7 kB / 23 MB, free: 4.57 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.731/2.731, allocations: 476.7 MB / 0.7714 GB, free: 4.238 MB / 0.6231 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.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.002028/0.002028, allocations: 71.58 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001915/0.3121, allocations: 0.679 MB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3132, allocations: 0.8667 MB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.3132, allocations: 4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.3133, allocations: 3.938 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.3133, allocations: 7.922 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.3135, allocations: 15.98 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.3136, allocations: 35.86 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3137, allocations: 8 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.3138, allocations: 11.98 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.3138, allocations: 19.91 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3138, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.3138, allocations: 4 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3138, allocations: 8 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.3139, allocations: 15.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.314, allocations: 31.83 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.314, allocations: 0 / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.314, allocations: 0 / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.314, allocations: 0 / 1.286 GB, free: 9.461 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.0005374/0.3145, allocations: 280.3 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3146, allocations: 12.03 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3146, allocations: 4.938 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3147, allocations: 126.4 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3147, allocations: 384 / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3147, allocations: 4.375 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.315, allocations: 62.16 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.315, allocations: 192 / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.315, allocations: 3.938 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.315, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.3152, allocations: 59.94 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.3156, allocations: 240 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3158, allocations: 66.47 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.316, allocations: 32.83 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.316, allocations: 4 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.316, allocations: 34.55 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.316, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000449/0.3165, allocations: 121.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3165, allocations: 51.41 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.282e-05/0.3166, allocations: 105.8 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3166, allocations: 25.7 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.3167, allocations: 84.14 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3167, allocations: 3.953 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3167, allocations: 21.84 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3169, allocations: 314.8 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.317, allocations: 32.83 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3171, allocations: 41.69 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3174, allocations: 60.89 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3174, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002715/0.3176, allocations: 93.52 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3176, allocations: 12.03 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3176, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3177, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3178, allocations: 15.97 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3178, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.3179, allocations: 11.98 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.3179, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001272/0.318, allocations: 100.1 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.347e-05/0.3181, allocations: 33.69 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001375/0.3182, allocations: 40.77 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.3182, allocations: 3.938 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001864/0.3184, allocations: 69.72 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.3184, allocations: 10.34 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.3184, allocations: 4 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.3184, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.3185, allocations: 7.984 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.3185, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.3185, allocations: 12.23 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.3185, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 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.0001019/0.3186, allocations: 184.2 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3187, allocations: 7.953 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.3187, allocations: 11.62 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.3187, allocations: 0 / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3187, allocations: 0 / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3187, allocations: 7.984 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3189, allocations: 136.6 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3189, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.3189, allocations: 15.92 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3189, allocations: 4 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.319, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.319, allocations: 7.984 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.319, allocations: 3.984 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.3193, allocations: 179.4 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.3193, allocations: 3.953 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3193, allocations: 4.031 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.3194, allocations: 15.98 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3194, allocations: 3.984 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3194, allocations: 4 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.3195, allocations: 79.28 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3195, allocations: 0 / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002719/0.3198, allocations: 12 kB / 1.289 GB, free: 6.352 MB / 0.9825 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.0001182/0.3199, allocations: 99.23 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3202, allocations: 75.86 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3202, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3204, allocations: 31.97 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3207, allocations: 8.125 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.321, allocations: 159.2 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3214, allocations: 0.6806 MB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3214, allocations: 7.438 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3214, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.002211/0.3236, allocations: 0.6267 MB / 1.291 GB, free: 4.605 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.971273813978769]