Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00193/0.00193, allocations: 102.1 kB / 19.7 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.00218/0.00218, allocations: 215.6 kB / 23.01 MB, free: 5.125 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.299/3.299, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001978/0.001978, allocations: 66.38 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002108/0.3716, allocations: 0.7836 MB / 1.355 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3728, allocations: 0.9016 MB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.3729, allocations: 3.938 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3729, allocations: 3.938 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.373, allocations: 15.86 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3732, allocations: 39.95 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3733, allocations: 83.83 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3734, allocations: 19.98 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.3735, allocations: 43.83 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.3736, allocations: 47.83 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3737, allocations: 8 kB / 1.356 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.3737, allocations: 8 kB / 1.356 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.3737, allocations: 23.91 kB / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.3738, allocations: 43.73 kB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3739, allocations: 91.59 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3739, allocations: 0 / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3739, allocations: 0 / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3739, allocations: 0 / 1.356 GB, free: 5.82 MB / 1.045 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.0006585/0.3746, allocations: 318 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3746, allocations: 12.02 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.3747, allocations: 8.891 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3748, allocations: 122.4 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3748, allocations: 8.375 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3748, allocations: 384 / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3751, allocations: 111.7 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3752, allocations: 0 / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3752, allocations: 0 / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3752, allocations: 4 kB / 1.357 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.3755, allocations: 103.9 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.3761, allocations: 315.7 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.3767, allocations: 114.5 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3769, allocations: 52.88 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3769, allocations: 0 / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.377, allocations: 34.56 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.377, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006815/0.3776, allocations: 197.4 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3777, allocations: 51.41 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3778, allocations: 125.8 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3778, allocations: 25.7 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.3779, allocations: 92.09 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3779, allocations: 27.78 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.378, allocations: 21.72 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3781, allocations: 322.8 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3783, allocations: 43.95 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3785, allocations: 43.95 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3788, allocations: 100.8 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3788, allocations: 3.938 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004103/0.3792, allocations: 138 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3792, allocations: 9.25 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3792, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3793, allocations: 4 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3794, allocations: 31.95 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3794, allocations: 0 / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3795, allocations: 15.92 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3795, allocations: 0 / 1.358 GB, free: 3.23 MB / 1.045 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.000107/0.3797, allocations: 122.4 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3797, allocations: 7.953 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.3801, allocations: 161.9 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3802, allocations: 7.938 kB / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3802, allocations: 0 / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3802, allocations: 3.938 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3804, allocations: 176.6 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3804, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.3805, allocations: 27.97 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3805, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3806, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3806, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3806, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.381, allocations: 239.3 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.3811, allocations: 11.95 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3811, allocations: 0 / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3812, allocations: 15.97 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3813, allocations: 23.91 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3813, allocations: 4 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.3814, allocations: 99.27 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002296/0.3816, allocations: 12 kB / 1.359 GB, free: 2.262 MB / 1.045 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.0001323/0.3817, allocations: 99.25 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.3821, allocations: 107.8 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3821, allocations: 0 / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.3823, allocations: 51.95 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3826, allocations: 12 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.3831, allocations: 204 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3835, allocations: 0.6936 MB / 1.361 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.3835, allocations: 23.42 kB / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3835, allocations: 0 / 1.361 GB, free: 1.012 MB / 1.045 GB Notification: Performance of Templates: time 0.003188/0.3867, allocations: 1.243 MB / 1.362 GB, free: 15.77 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.488632318010787]