Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.0007126/0.0007126, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001705, 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.0006972/0.0006972, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008909/0.001588, allocations: 475.6 kB / 11.79 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.9099/0.9099, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07861/0.9885, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.342/2.342, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2404/2.582, allocations: 146 MB / 0.8176 GB, free: 3.824 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.192e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001466/0.001488, allocations: 0.8253 MB / 0.8197 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.002714, allocations: 0.9131 MB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.002767, allocations: 0 / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.002803, allocations: 11.86 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.002868, allocations: 11.88 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.002969, allocations: 39.89 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.003083, allocations: 79.83 kB / 0.8208 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.003194, allocations: 23.91 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.003333, allocations: 71.81 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.003419, allocations: 35.94 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.00345, allocations: 15.94 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.003466, allocations: 8 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.003491, allocations: 8 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.003524, allocations: 19.94 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003639, allocations: 51.78 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.003654, allocations: 0 / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003655, allocations: 0 / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.003666, allocations: 0 / 0.821 GB, free: 364 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.0004239/0.00409, allocations: 292.3 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.004124, allocations: 8.031 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.00416, allocations: 20.92 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004272, allocations: 129.5 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.004292, allocations: 4.375 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.004306, allocations: 8.375 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.004462, allocations: 88.39 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.00447, allocations: 3.938 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.00448, allocations: 4 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004485, allocations: 4 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.004524, allocations: 15.98 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.004808, allocations: 200.1 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.005039, allocations: 62.47 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.005066, allocations: 20.84 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.00508, allocations: 0 / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.005102, allocations: 38.56 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005103, allocations: 0 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001384/0.005241, allocations: 77.59 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.005266, allocations: 51.41 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.005325, allocations: 122.7 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005336, allocations: 25.7 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.00537, allocations: 100 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.00539, allocations: 15.86 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.005424, allocations: 29.69 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.005495, allocations: 314.8 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.005516, allocations: 11.98 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.005533, allocations: 4 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.005582, allocations: 40.77 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.005585, allocations: 7.875 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.119e-05/0.005656, allocations: 53.67 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005668, allocations: 8 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005673, allocations: 0 / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005685, allocations: 3.984 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.005775, allocations: 23.97 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005777, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.005812, allocations: 8 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.005819, allocations: 7.984 kB / 0.8227 GB, free: 14.43 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,add1.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.754e-05/0.005877, allocations: 117.7 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.005898, allocations: 4 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.005921, allocations: 12.44 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005924, allocations: 4 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.005926, allocations: 3.984 kB / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005928, allocations: 0 / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.006029, allocations: 93.75 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00603, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.006091, allocations: 27.97 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.006103, allocations: 3.938 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006105, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.00611, allocations: 4 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006111, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006111, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.006223, allocations: 163.4 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.006234, allocations: 3.984 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.006283, allocations: 4 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.006334, allocations: 27.97 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006338, allocations: 4 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.864e-05/0.006357, allocations: 20.83 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006357, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001221/0.006479, allocations: 15.95 kB / 0.8232 GB, free: 13.88 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 (add1.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 8.554e-05/0.006565, allocations: 88.41 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.006647, allocations: 32.78 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.006654, allocations: 4 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.006701, allocations: 41.62 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.006892, allocations: 71.39 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.007292, allocations: 161.4 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.007327, allocations: 59.34 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.007372, allocations: 15.94 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.007453, allocations: 71.34 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of SimCode: time 8.31e-07/0.007453, allocations: 0 / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.003131/0.01058, allocations: 1.683 MB / 0.8254 GB, free: 11.61 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.030527473427355]