Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 188.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002252/1.143, allocations: 0.7853 MB / 1.275 GB, free: 3.414 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001214/1.144, allocations: 0.8701 MB / 1.276 GB, free: 2.531 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/1.144, allocations: 0 / 1.276 GB, free: 2.531 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.263e-05/1.144, allocations: 3.938 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.432e-05/1.144, allocations: 7.875 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001774/1.145, allocations: 47.88 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001379/1.145, allocations: 87.83 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/1.145, allocations: 19.98 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/1.145, allocations: 43.78 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/1.145, allocations: 43.83 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.827e-05/1.145, allocations: 8 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/1.145, allocations: 8 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.562e-05/1.145, allocations: 27.91 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.273e-05/1.145, allocations: 35.84 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001554/1.145, allocations: 87.33 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.145, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 7.01e-07/1.145, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.961e-06/1.145, allocations: 4 kB / 1.276 GB, free: 2.117 MB / 0.9669 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.0006787/1.146, allocations: 316.7 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.146, allocations: 8.031 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/1.146, allocations: 12.89 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.146, allocations: 126.4 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.146, allocations: 384 / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/1.146, allocations: 8.375 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.147, allocations: 116.9 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.147, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/1.147, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.147, allocations: 4 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/1.147, allocations: 99.89 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/1.148, allocations: 311.7 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/1.148, allocations: 114.6 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/1.149, allocations: 52.81 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/1.149, allocations: 7.938 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.149, allocations: 42.5 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.272e-06/1.149, allocations: 0 / 1.278 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.0006697/1.149, allocations: 181.5 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/1.149, allocations: 59.41 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.149, allocations: 122.1 kB / 1.278 GB, free: 432 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.202e-05/1.15, allocations: 25.7 kB / 1.278 GB, free: 400 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/1.15, allocations: 100 kB / 1.278 GB, free: 296 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/1.15, allocations: 15.86 kB / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/1.15, allocations: 25.7 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000186/1.15, allocations: 318.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.15, allocations: 47.95 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.15, allocations: 47.89 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/1.151, allocations: 96.78 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.151, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003988/1.151, allocations: 137.5 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.151, allocations: 10.5 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.151, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.151, allocations: 3.984 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.151, allocations: 23.97 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.151, allocations: 3.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.151, allocations: 23.86 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.151, allocations: 3.984 kB / 1.279 GB, free: 15.52 MB / 0.9825 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.0001222/1.151, allocations: 120 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/1.151, allocations: 7.953 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/1.152, allocations: 8.375 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/1.152, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.152, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.152, allocations: 3.938 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/1.152, allocations: 172.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.152, allocations: 7.938 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.152, allocations: 27.97 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.152, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.152, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.152, allocations: 3.938 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.152, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/1.152, allocations: 243.8 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/1.152, allocations: 11.94 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/1.153, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.153, allocations: 11.98 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/1.153, allocations: 23.91 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.153, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.348e-05/1.153, allocations: 103.3 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002373/1.153, allocations: 12 kB / 1.279 GB, free: 14.7 MB / 0.9825 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.000129/1.153, allocations: 95.25 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004981/1.154, allocations: 115.9 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.154, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002051/1.154, allocations: 59.95 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/1.154, allocations: 7.984 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/1.155, allocations: 174.2 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/1.155, allocations: 0.7001 MB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 6.787e-05/1.155, allocations: 11.92 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/1.155, allocations: 19.44 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/1.155, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005031/1.16, allocations: 1.615 MB / 1.282 GB, free: 11.85 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.806890644133091]