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.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.001607/0.001607, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001743/0.001743, allocations: 188.2 kB / 22.23 MB, free: 5.137 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.477/3.477, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001965/0.001965, allocations: 58.62 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002461/0.4231, allocations: 0.7735 MB / 1.317 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001367/0.4244, allocations: 0.8662 MB / 1.318 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.4245, allocations: 0 / 1.318 GB, free: 8.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.4246, allocations: 11.86 kB / 1.318 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.4247, allocations: 11.88 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.4249, allocations: 39.95 kB / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001701/0.4251, allocations: 87.75 kB / 1.318 GB, free: 7.922 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4253, allocations: 19.98 kB / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4254, allocations: 39.86 kB / 1.318 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4255, allocations: 55.81 kB / 1.318 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.4255, allocations: 8 kB / 1.318 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.4255, allocations: 8 kB / 1.318 GB, free: 7.793 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.4256, allocations: 15.92 kB / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.4256, allocations: 35.84 kB / 1.318 GB, free: 7.742 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4258, allocations: 91.59 kB / 1.318 GB, free: 7.652 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4258, allocations: 0 / 1.318 GB, free: 7.652 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.875e-06/0.4258, allocations: 0 / 1.318 GB, free: 7.652 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.193e-06/0.4258, allocations: 3.938 kB / 1.318 GB, free: 7.648 MB / 1.014 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.0008462/0.4267, allocations: 323.9 kB / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4267, allocations: 12.03 kB / 1.318 GB, free: 7.293 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.4268, allocations: 8.891 kB / 1.318 GB, free: 7.285 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.427, allocations: 122.4 kB / 1.318 GB, free: 7.141 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.427, allocations: 8.375 kB / 1.319 GB, free: 7.133 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.427, allocations: 4.375 kB / 1.319 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.4274, allocations: 113.5 kB / 1.319 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4274, allocations: 4 kB / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4274, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4274, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.4279, allocations: 99.84 kB / 1.319 GB, free: 6.91 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.4285, allocations: 311.8 kB / 1.319 GB, free: 6.562 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.4292, allocations: 118.5 kB / 1.319 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.4294, allocations: 64.78 kB / 1.319 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4294, allocations: 0 / 1.319 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4295, allocations: 34.56 kB / 1.319 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.4295, allocations: 0 / 1.319 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0007177/0.4302, allocations: 181.5 kB / 1.319 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4302, allocations: 59.28 kB / 1.319 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.4304, allocations: 133.7 kB / 1.32 GB, free: 5.934 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4304, allocations: 25.7 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.4305, allocations: 100.1 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.4305, allocations: 19.8 kB / 1.32 GB, free: 5.781 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.4306, allocations: 25.7 kB / 1.32 GB, free: 5.75 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001997/0.4308, allocations: 314.8 kB / 1.32 GB, free: 5.434 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.431, allocations: 47.95 kB / 1.32 GB, free: 5.387 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.4312, allocations: 47.95 kB / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.4316, allocations: 96.77 kB / 1.32 GB, free: 5.242 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4316, allocations: 0 / 1.32 GB, free: 5.242 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000461/0.4321, allocations: 145.5 kB / 1.32 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4321, allocations: 4 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4321, allocations: 0 / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4321, allocations: 0 / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4323, allocations: 23.97 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4323, allocations: 0 / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4324, allocations: 19.92 kB / 1.32 GB, free: 5.047 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4325, allocations: 8 kB / 1.32 GB, free: 5.039 MB / 1.014 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.0001513/0.4326, allocations: 114.4 kB / 1.321 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.4326, allocations: 7.938 kB / 1.321 GB, free: 4.91 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.4327, allocations: 12.38 kB / 1.321 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4327, allocations: 0 / 1.321 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4327, allocations: 0 / 1.321 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4327, allocations: 3.938 kB / 1.321 GB, free: 4.891 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4329, allocations: 172.7 kB / 1.321 GB, free: 4.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4329, allocations: 0 / 1.321 GB, free: 4.68 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4331, allocations: 27.97 kB / 1.321 GB, free: 4.652 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4331, allocations: 3.938 kB / 1.321 GB, free: 4.648 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4331, allocations: 3.938 kB / 1.321 GB, free: 4.645 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4331, allocations: 7.938 kB / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4331, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.4336, allocations: 239.3 kB / 1.321 GB, free: 4.387 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.4336, allocations: 7.891 kB / 1.321 GB, free: 4.379 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.4337, allocations: 4 kB / 1.321 GB, free: 4.375 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4338, allocations: 15.97 kB / 1.321 GB, free: 4.359 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.4339, allocations: 27.91 kB / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.4339, allocations: 0 / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.122e-05/0.434, allocations: 95.27 kB / 1.321 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.434, allocations: 0 / 1.321 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002326/0.4342, allocations: 16 kB / 1.321 GB, free: 4.223 MB / 1.014 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.0001296/0.4343, allocations: 99.19 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004814/0.4348, allocations: 103.9 kB / 1.321 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4348, allocations: 4 kB / 1.321 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000219/0.4351, allocations: 64.67 kB / 1.321 GB, free: 3.949 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4355, allocations: 8 kB / 1.321 GB, free: 3.941 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.436, allocations: 176.8 kB / 1.322 GB, free: 3.742 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.4365, allocations: 0.6923 MB / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.968e-05/0.4366, allocations: 15.75 kB / 1.322 GB, free: 3.008 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.4366, allocations: 15.42 kB / 1.322 GB, free: 2.992 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.4366, allocations: 0 / 1.322 GB, free: 2.992 MB / 1.014 GB
Notification: Performance of Templates: time 0.005139/0.4418, allocations: 1.628 MB / 1.324 GB, free: 1.371 MB / 1.014 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/jenkins/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: 9.946764710359275]