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.001853/0.001853, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002447/0.002447, allocations: 219 kB / 23.05 MB, free: 4.844 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.766 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 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.002067/0.002067, allocations: 69.12 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001866/0.3298, allocations: 0.6729 MB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.331, allocations: 0.8592 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.331, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.331, allocations: 4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.3311, allocations: 3.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.3312, allocations: 15.92 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.3313, allocations: 27.98 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.3314, allocations: 11.88 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.3315, allocations: 19.97 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.3315, allocations: 11.92 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3315, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.3315, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.3316, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3316, allocations: 19.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3317, allocations: 35.81 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3317, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3317, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3317, allocations: 7.938 kB / 1.329 GB, free: 15.21 MB / 1.029 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.0005325/0.3322, allocations: 274.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3323, allocations: 8.031 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3323, allocations: 8.891 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3324, allocations: 114.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3324, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3324, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.3327, allocations: 66.14 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3327, allocations: 192 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3327, allocations: 7.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3327, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.3329, allocations: 55.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.3333, allocations: 208.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3335, allocations: 58.53 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3337, allocations: 36.83 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3337, allocations: 3.938 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3337, allocations: 30.56 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3337, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004872/0.3342, allocations: 117.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3343, allocations: 51.41 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.3344, allocations: 101.9 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3344, allocations: 29.64 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3345, allocations: 92.25 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3345, allocations: 7.953 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3345, allocations: 9.719 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3347, allocations: 318.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3348, allocations: 37.02 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.335, allocations: 67.38 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3352, allocations: 68.89 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3352, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000281/0.3355, allocations: 85.58 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3355, allocations: 8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3356, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3356, allocations: 4.031 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3357, allocations: 11.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3357, allocations: 3.938 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.3358, allocations: 19.97 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3358, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001286/0.3359, allocations: 98.75 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001049/0.336, allocations: 55.41 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001428/0.3361, allocations: 40.91 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.3362, allocations: 3.984 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001985/0.3364, allocations: 69.56 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3364, allocations: 13.81 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.3364, allocations: 3.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-06/0.3364, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.3364, allocations: 11.97 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-06/0.3364, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.3365, allocations: 15.98 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-06/0.3365, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 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.0001157/0.3366, allocations: 180.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3366, allocations: 7.922 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3367, allocations: 3.625 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3367, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3367, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3367, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3368, allocations: 105.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3368, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.3369, allocations: 15.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3369, allocations: 3.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3369, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3369, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3369, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.3373, allocations: 187.4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3373, allocations: 15.89 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3373, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.3374, allocations: 11.98 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3375, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3375, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3376, allocations: 87.27 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002872/0.3379, allocations: 8 kB / 1.332 GB, free: 12.12 MB / 1.029 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.0001184/0.338, allocations: 103.3 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.3384, allocations: 75.91 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3384, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3385, allocations: 36.03 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3388, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3392, allocations: 159.2 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.3393, allocations: 63.34 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.3393, allocations: 7.438 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3393, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of Templates: time 0.002156/0.3415, allocations: 0.6351 MB / 1.333 GB, free: 10.98 MB / 1.029 GB " [Timeout remaining time 300] 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.03604965400882]