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.00109/0.00109, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.00292, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001123/0.001123, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002644, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.9925/0.9925, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0905/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.461/2.461, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3349/2.796, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.31e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001791/0.001825, allocations: 0.8179 MB / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.002841, allocations: 0.9247 MB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.002896, allocations: 4 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.002931, allocations: 7.875 kB / 0.8206 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.002994, allocations: 11.88 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.003114, allocations: 35.89 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003227, allocations: 87.81 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.00333, allocations: 27.91 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.00345, allocations: 67.77 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.003539, allocations: 39.94 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.003568, allocations: 12 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.003583, allocations: 8 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.003607, allocations: 11.94 kB / 0.8209 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.003635, allocations: 19.94 kB / 0.821 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003746, allocations: 47.83 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.00376, allocations: 3.938 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003762, allocations: 0 / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.003772, allocations: 0 / 0.821 GB, free: 332 kB / 0.7917 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.0004463/0.004219, allocations: 296.3 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004255, allocations: 8.031 kB / 0.8213 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.004309, allocations: 12.98 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.00441, allocations: 117.7 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.004434, allocations: 8.375 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.004451, allocations: 12.25 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.004617, allocations: 86.89 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004627, allocations: 7.922 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.00464, allocations: 4 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004644, allocations: 3.938 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.00469, allocations: 19.98 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.005006, allocations: 196.2 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.005594, allocations: 70.39 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.005623, allocations: 12.86 kB / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.005645, allocations: 0 / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.005669, allocations: 38.56 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.005671, allocations: 0 / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001603/0.005832, allocations: 69.66 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.005863, allocations: 51.41 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.005934, allocations: 126.6 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.005949, allocations: 29.7 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.005986, allocations: 96.06 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.006011, allocations: 11.86 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.006047, allocations: 29.69 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.00613, allocations: 314.8 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.006153, allocations: 11.98 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.006172, allocations: 8.312 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.006227, allocations: 36.97 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.00623, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.477e-05/0.006325, allocations: 57.67 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.006343, allocations: 4 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.006355, allocations: 0 / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.006371, allocations: 3.938 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.006487, allocations: 31.91 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.006491, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.00653, allocations: 11.94 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.006539, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 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 7.62e-05/0.006615, allocations: 121.8 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.006633, allocations: 4 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.006771, allocations: 70.08 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.006774, allocations: 3.938 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.006776, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.006782, allocations: 7.984 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.006904, allocations: 89.83 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006905, allocations: 8 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.006981, allocations: 19.97 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.006996, allocations: 7.938 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006998, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.007005, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.007008, allocations: 4 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.00701, allocations: 0 / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.007143, allocations: 155.5 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.007162, allocations: 7.984 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.007212, allocations: 8 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.007287, allocations: 23.91 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.007296, allocations: 4 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.007326, allocations: 20.84 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.31e-07/0.007326, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001398/0.007466, allocations: 15.95 kB / 0.8233 GB, free: 13.79 MB / 0.8073 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.000132/0.007598, allocations: 84.34 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.007709, allocations: 40.77 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.007717, allocations: 8 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.007765, allocations: 24.84 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.007966, allocations: 79.33 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.008448, allocations: 169.8 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.008484, allocations: 59.34 kB / 0.8237 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.803e-05/0.008532, allocations: 15.94 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.00862, allocations: 67.36 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.00862, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.003426/0.01205, allocations: 1.69 MB / 0.8254 GB, free: 11.51 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.522285210900009]