Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001982/0.001982, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002533/0.002533, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.781 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.419/3.419, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [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.002151/0.002151, allocations: 69.61 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4505, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002416/0.4529, allocations: 0.7613 MB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4544, allocations: 0.8782 MB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.4545, allocations: 0 / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.4545, allocations: 11.88 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.4546, allocations: 3.938 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.4548, allocations: 43.88 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.455, allocations: 83.83 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.4551, allocations: 31.91 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.4553, allocations: 39.94 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4554, allocations: 43.73 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.4554, allocations: 8 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.4554, allocations: 8 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.4554, allocations: 19.92 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.4555, allocations: 35.84 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.4557, allocations: 83.66 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4557, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4557, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4557, allocations: 0 / 1.328 GB, free: 15.78 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007168/0.4564, allocations: 322 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4564, allocations: 12.03 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.4565, allocations: 12.83 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.4566, allocations: 122.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.4567, allocations: 12.25 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4567, allocations: 4.375 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.457, allocations: 101.5 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.457, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4571, allocations: 8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4571, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.4575, allocations: 95.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.458, allocations: 264.4 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.4587, allocations: 126.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.4589, allocations: 52.81 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.4589, allocations: 11.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4589, allocations: 30.56 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.4589, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007161/0.4597, allocations: 181.5 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4597, allocations: 51.41 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4599, allocations: 125.8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4599, allocations: 25.7 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.46, allocations: 100.1 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.46, allocations: 15.84 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.4601, allocations: 21.7 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4602, allocations: 322.8 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4604, allocations: 47.95 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.4606, allocations: 44.27 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.461, allocations: 104.9 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.461, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004247/0.4614, allocations: 141.5 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4614, allocations: 5.719 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4614, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4615, allocations: 3.938 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4616, allocations: 27.91 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4616, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4617, allocations: 19.94 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4618, allocations: 3.938 kB / 1.33 GB, free: 13.23 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001394/0.4619, allocations: 121.8 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.4619, allocations: 4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.4625, allocations: 149.9 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4625, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4625, allocations: 4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4625, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.4627, allocations: 145.1 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4627, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4628, allocations: 23.97 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4628, allocations: 3.938 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4629, allocations: 7.984 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4629, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4629, allocations: 3.984 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.4633, allocations: 239.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.4634, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4634, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4635, allocations: 11.98 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.4636, allocations: 23.91 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4636, allocations: 11.98 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.4637, allocations: 91.28 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4637, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002694/0.464, allocations: 19.95 kB / 1.331 GB, free: 12.32 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001531/0.4641, allocations: 111.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.4645, allocations: 103.9 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4645, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.4648, allocations: 67.88 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4651, allocations: 8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.4657, allocations: 170.4 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.4657, allocations: 75.27 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.038e-05/0.4658, allocations: 12 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.4659, allocations: 23.42 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4659, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Templates: time 0.005395/0.4713, allocations: 1.728 MB / 1.333 GB, free: 9.992 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.937308758497238]