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.0008007/0.0008007, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001865, allocations: 435.8 kB / 10.33 MB, free: 368 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.001061/0.001061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002418, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9705/0.9705, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0995/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.403/2.403, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2659/2.668, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.104e-06/2.104e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.385e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001323/0.001347, allocations: 0.8284 MB / 0.8191 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.002122, allocations: 0.9131 MB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.002162, allocations: 4 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.002189, allocations: 7.875 kB / 0.82 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.002237, allocations: 11.88 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.894e-05/0.002326, allocations: 39.94 kB / 0.8201 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.002422, allocations: 87.77 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.002511, allocations: 27.91 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.002617, allocations: 55.88 kB / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.002684, allocations: 35.89 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.00271, allocations: 8 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.002722, allocations: 8 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.00274, allocations: 12 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.002766, allocations: 15.94 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.002868, allocations: 63.77 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.002882, allocations: 3.984 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002883, allocations: 3.938 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.002895, allocations: 0 / 0.8204 GB, free: 0.7383 MB / 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.0003835/0.003279, allocations: 296.3 kB / 0.8207 GB, free: 436 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.003308, allocations: 8.625 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.003338, allocations: 8.922 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.00342, allocations: 129.5 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.003439, allocations: 8.375 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.003449, allocations: 4.375 kB / 0.8208 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.003587, allocations: 90.88 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003594, allocations: 3.938 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.003604, allocations: 8 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.003608, allocations: 0 / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.00365, allocations: 16.86 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.003943, allocations: 204.1 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.004164, allocations: 66.47 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.004189, allocations: 16.84 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.004209, allocations: 0 / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.004229, allocations: 34.56 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.00423, allocations: 7.938 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001315/0.004361, allocations: 61.67 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.004388, allocations: 51.41 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.004448, allocations: 122.7 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.00446, allocations: 33.7 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.004492, allocations: 88.09 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.004512, allocations: 23.83 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.004544, allocations: 29.64 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.004611, allocations: 314.8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.004631, allocations: 8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.004648, allocations: 7.984 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.004697, allocations: 41.22 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.004704, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.115e-05/0.004775, allocations: 57.67 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004787, allocations: 8 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004792, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.0048, allocations: 3.984 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.004887, allocations: 19.98 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.004889, allocations: 0 / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.004924, allocations: 15.92 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.00493, allocations: 4 kB / 0.8221 GB, free: 14.82 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 5.924e-05/0.004989, allocations: 117.7 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.005007, allocations: 11.98 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.005108, allocations: 70.09 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00511, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005111, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005115, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.005215, allocations: 93.8 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005216, allocations: 0 / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.005279, allocations: 23.98 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.00529, allocations: 11.92 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005291, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005297, allocations: 7.938 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005298, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005298, allocations: 0 / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.005398, allocations: 155.5 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.005411, allocations: 8 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.005459, allocations: 7.984 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.005508, allocations: 19.97 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.005512, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.964e-05/0.005532, allocations: 28.77 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005532, allocations: 0 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001239/0.005656, allocations: 23.95 kB / 0.8227 GB, free: 14.2 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 7.315e-05/0.005729, allocations: 80.3 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.005811, allocations: 36.83 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.005817, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.005854, allocations: 32.83 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.006014, allocations: 23.92 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.006411, allocations: 161.2 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.006442, allocations: 63.34 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.006483, allocations: 11.94 kB / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.006556, allocations: 67.36 kB / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.006557, allocations: 0 / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.003038/0.009595, allocations: 1.754 MB / 0.8248 GB, free: 11.93 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.295902660116553]