Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001574/0.001574, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001772/0.001772, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.84/2.84, allocations: 476 MB / 0.7707 GB, free: 4.742 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_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_11_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.002084/0.002084, allocations: 67.48 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002148/0.3532, allocations: 0.7455 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3544, allocations: 0.8939 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.3545, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3545, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.3546, allocations: 11.88 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3548, allocations: 43.94 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3549, allocations: 87.7 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.355, allocations: 19.98 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.3551, allocations: 43.89 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.3552, allocations: 39.83 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3553, allocations: 12 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.3553, allocations: 8 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.3553, allocations: 23.91 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.3553, allocations: 27.86 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3555, allocations: 87.55 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3555, allocations: 4 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3555, allocations: 0 / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3555, allocations: 0 / 1.286 GB, free: 9.895 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006488/0.3562, allocations: 322 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3562, allocations: 12.03 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3562, allocations: 8.891 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3564, allocations: 122.5 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3564, allocations: 384 / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3564, allocations: 4.375 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.3568, allocations: 115.1 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3568, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3568, allocations: 4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3568, allocations: 4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3572, allocations: 99.89 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.3577, allocations: 276.3 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.3583, allocations: 114.6 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.3585, allocations: 52.81 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3585, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3586, allocations: 38.56 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.3586, allocations: 0 / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000663/0.3592, allocations: 185.4 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3593, allocations: 59.41 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3594, allocations: 121.8 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3594, allocations: 25.7 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3595, allocations: 104 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3595, allocations: 11.84 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.3595, allocations: 25.7 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3597, allocations: 326.8 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3599, allocations: 43.95 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.36, allocations: 47.95 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3604, allocations: 97.23 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3604, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004061/0.3608, allocations: 149.5 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3608, allocations: 14.28 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3608, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3608, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.361, allocations: 23.97 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.361, allocations: 4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3611, allocations: 11.98 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3611, allocations: 7.922 kB / 1.288 GB, free: 7.34 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: 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.0001011/0.3612, allocations: 117.8 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.3613, allocations: 11.95 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.3617, allocations: 145.9 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3617, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3617, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3617, allocations: 3.984 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3619, allocations: 133.2 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3619, allocations: 7.984 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3621, allocations: 23.97 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3621, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3621, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3621, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3621, allocations: 4 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.3627, allocations: 241.1 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.3627, allocations: 15.89 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3627, allocations: 0 / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3628, allocations: 11.98 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.3629, allocations: 19.97 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3629, allocations: 7.984 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001085/0.363, allocations: 99.2 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.363, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002302/0.3633, allocations: 15.95 kB / 1.289 GB, free: 6.43 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: 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.0001205/0.3634, allocations: 103.2 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.3638, allocations: 103.8 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3638, allocations: 0 / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.364, allocations: 55.94 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3643, allocations: 8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.3648, allocations: 200 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.3649, allocations: 79.27 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.365, allocations: 15.42 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.365, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.003086/0.368, allocations: 1.261 MB / 1.291 GB, free: 4.562 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.14814862376079]