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.001325/0.001325, 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.001685/0.001685, allocations: 216.3 kB / 23.01 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.251/3.251, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.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: 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.002063/0.002063, allocations: 66.14 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3931, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002179/0.3953, allocations: 0.785 MB / 1.355 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3965, allocations: 0.8899 MB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3966, allocations: 7.938 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.3966, allocations: 3.938 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3967, allocations: 15.84 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3969, allocations: 35.91 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.397, allocations: 87.86 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3971, allocations: 16 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.3972, allocations: 43.78 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.3973, allocations: 47.81 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3974, allocations: 8 kB / 1.356 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.3974, allocations: 8 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3974, allocations: 27.92 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.3975, allocations: 39.8 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3976, allocations: 91.62 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3976, allocations: 4 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3976, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3976, allocations: 0 / 1.356 GB, free: 5.863 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.0006653/0.3983, allocations: 318 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3983, allocations: 8.031 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3984, allocations: 12.89 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3985, allocations: 126.4 kB / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3985, allocations: 384 / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3985, allocations: 4.375 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.3989, allocations: 110.8 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3989, allocations: 0 / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3989, allocations: 0 / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3989, allocations: 4 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.3993, allocations: 99.89 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.3998, allocations: 311.7 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.4005, allocations: 122.6 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4007, allocations: 60.8 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4007, allocations: 3.938 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4007, allocations: 34.56 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4007, allocations: 0 / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006635/0.4014, allocations: 181.5 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4014, allocations: 55.41 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4015, allocations: 129.8 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4016, allocations: 25.7 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.4016, allocations: 92.03 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.4016, allocations: 31.78 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.4017, allocations: 21.72 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4018, allocations: 318.8 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.402, allocations: 43.95 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.4022, allocations: 51.88 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.4025, allocations: 104.8 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4025, allocations: 0 / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004019/0.4029, allocations: 129.6 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.403, allocations: 8 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.403, allocations: 4 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.403, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4032, allocations: 23.97 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4032, allocations: 3.938 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.4033, allocations: 19.91 kB / 1.359 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4033, allocations: 0 / 1.359 GB, free: 3.27 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,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 0.0001029/0.4034, allocations: 114.5 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.4034, allocations: 11.95 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.4034, allocations: 12.36 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4035, allocations: 7.938 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4035, allocations: 0 / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4035, allocations: 3.938 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4037, allocations: 168.7 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4037, allocations: 4 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4038, allocations: 23.97 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4038, allocations: 0 / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4038, allocations: 3.984 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4038, allocations: 4 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4038, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.4043, allocations: 235.3 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.4043, allocations: 15.89 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4043, allocations: 0 / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4045, allocations: 15.98 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.4046, allocations: 23.91 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.4046, allocations: 11.98 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.4046, allocations: 87.28 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4046, allocations: 0 / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002327/0.4049, allocations: 16 kB / 1.359 GB, free: 2.457 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 (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 0.0001156/0.405, allocations: 99.23 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.4054, allocations: 108.5 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4054, allocations: 0 / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4056, allocations: 55.94 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.4059, allocations: 11.94 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.4064, allocations: 204.4 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4067, allocations: 0.6923 MB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.4068, allocations: 19.38 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4068, allocations: 0 / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of Templates: time 0.003144/0.4099, allocations: 1.246 MB / 1.362 GB, free: 15.96 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.73537038001814]