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.001305/0.001305, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001411/0.001411, allocations: 221.8 kB / 23 MB, free: 4.91 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.087/3.087, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 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.002064/0.002064, allocations: 64.91 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002079/0.3511, allocations: 0.6728 MB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3524, allocations: 0.867 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.3524, allocations: 0 / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.3524, allocations: 7.875 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.3525, allocations: 3.938 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3527, allocations: 15.98 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.3528, allocations: 35.92 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3529, allocations: 4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.353, allocations: 15.92 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.353, allocations: 23.91 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.353, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.353, allocations: 4 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3531, allocations: 4 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.3531, allocations: 11.94 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.3532, allocations: 43.75 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3532, allocations: 0 / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3532, allocations: 0 / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3532, allocations: 4 kB / 1.328 GB, free: 100 kB / 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.0006301/0.3538, allocations: 274.3 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3539, allocations: 8.031 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3539, allocations: 8.891 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.354, allocations: 110.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3541, allocations: 8.359 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3541, allocations: 384 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3543, allocations: 66.22 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3543, allocations: 192 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3543, allocations: 7.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3543, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3546, allocations: 55.88 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.355, allocations: 208.6 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3552, allocations: 62.52 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3553, allocations: 32.89 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3553, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3554, allocations: 34.56 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3554, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004809/0.3559, allocations: 117.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.3559, allocations: 51.41 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.356, allocations: 105.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.356, allocations: 29.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.3561, allocations: 84.14 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3561, allocations: 7.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3562, allocations: 17.72 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3563, allocations: 310.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3564, allocations: 36.95 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.3566, allocations: 67.39 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3568, allocations: 68.67 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3568, allocations: 4.094 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002804/0.3571, allocations: 97.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3571, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3571, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3572, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3573, allocations: 11.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3573, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.3573, allocations: 16.27 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3574, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001227/0.3575, allocations: 104.1 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.579e-05/0.3576, allocations: 51.41 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001449/0.3577, allocations: 44.75 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.3577, allocations: 4.094 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001982/0.3579, allocations: 69.62 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.3579, allocations: 7.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.3579, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.3579, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.358, allocations: 11.98 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.358, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.358, allocations: 8.016 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-06/0.358, allocations: 8 kB / 1.33 GB, free: 13.7 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.0001187/0.3582, allocations: 176.3 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3582, allocations: 7.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.3582, allocations: 11.61 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3582, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3582, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3582, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3584, allocations: 109.3 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3584, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.3585, allocations: 15.98 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3585, allocations: 3.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3585, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3585, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3585, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3588, allocations: 183.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.3588, allocations: 7.891 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3588, allocations: 4.031 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.3589, allocations: 15.92 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.359, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.359, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.359, allocations: 91.27 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.359, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002737/0.3593, allocations: 4 kB / 1.331 GB, free: 13.02 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.0001235/0.3594, allocations: 103.2 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3598, allocations: 79.91 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3598, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3599, allocations: 31.97 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3602, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.3607, allocations: 168.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.3608, allocations: 55.36 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3608, allocations: 15.42 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.3608, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Templates: time 0.002484/0.3633, allocations: 0.634 MB / 1.332 GB, free: 11.88 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: 10.969041510950774]