Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001303/0.001303, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001487/0.001487, allocations: 187.7 kB / 22.22 MB, free: 5.105 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.51/1.51, allocations: 225.6 MB / 251 MB, free: 13.02 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.339/3.339, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 61.19 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4439, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002642/0.4465, allocations: 0.7087 MB / 1.317 GB, free: 8.957 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001297/0.4478, allocations: 0.8122 MB / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.4479, allocations: 0 / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.4479, allocations: 3.938 kB / 1.318 GB, free: 8.129 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.448, allocations: 11.88 kB / 1.318 GB, free: 8.117 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 8.279e-05/0.4481, allocations: 11.98 kB / 1.318 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001273/0.4482, allocations: 43.84 kB / 1.318 GB, free: 8.062 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4483, allocations: 11.98 kB / 1.318 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.4484, allocations: 23.92 kB / 1.318 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.4485, allocations: 19.92 kB / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4485, allocations: 4 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.4485, allocations: 7.938 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.4485, allocations: 7.984 kB / 1.318 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.4486, allocations: 15.94 kB / 1.318 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.4487, allocations: 47.73 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4487, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.4487, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.382e-06/0.4487, allocations: 0 / 1.318 GB, free: 7.926 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.000566/0.4493, allocations: 282.3 kB / 1.318 GB, free: 7.617 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4493, allocations: 8.031 kB / 1.318 GB, free: 7.609 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.4493, allocations: 8.891 kB / 1.318 GB, free: 7.602 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.4495, allocations: 114.5 kB / 1.318 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4495, allocations: 4.375 kB / 1.318 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4495, allocations: 4.375 kB / 1.318 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4498, allocations: 78.14 kB / 1.318 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4498, allocations: 192 / 1.318 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4498, allocations: 3.938 kB / 1.318 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4498, allocations: 0 / 1.318 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.4501, allocations: 63.92 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.4505, allocations: 240 kB / 1.319 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.4507, allocations: 58.41 kB / 1.319 GB, free: 6.965 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4509, allocations: 44.91 kB / 1.319 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.4509, allocations: 3.984 kB / 1.319 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4509, allocations: 34.56 kB / 1.319 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4509, allocations: 4 kB / 1.319 GB, free: 6.867 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005249/0.4515, allocations: 121.6 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4515, allocations: 51.41 kB / 1.319 GB, free: 6.68 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4516, allocations: 109.8 kB / 1.319 GB, free: 6.562 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4517, allocations: 29.7 kB / 1.319 GB, free: 6.527 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.4517, allocations: 96.08 kB / 1.319 GB, free: 6.43 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.4518, allocations: 3.953 kB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.4518, allocations: 21.66 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002005/0.452, allocations: 314.8 kB / 1.319 GB, free: 6.082 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4522, allocations: 27.97 kB / 1.319 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.4523, allocations: 35.97 kB / 1.319 GB, free: 6.02 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.4525, allocations: 64.78 kB / 1.319 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4525, allocations: 15.81 kB / 1.32 GB, free: 5.938 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/0.4529, allocations: 97.58 kB / 1.32 GB, free: 5.836 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4529, allocations: 8 kB / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4529, allocations: 0 / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.4529, allocations: 3.984 kB / 1.32 GB, free: 5.824 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4531, allocations: 23.92 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4531, allocations: 0 / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.4532, allocations: 11.98 kB / 1.32 GB, free: 5.789 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4532, allocations: 4 kB / 1.32 GB, free: 5.785 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * 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.0001144/0.4533, allocations: 113.8 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4533, allocations: 4 kB / 1.32 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.4533, allocations: 11.98 kB / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4533, allocations: 0 / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4533, allocations: 0 / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4533, allocations: 0 / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4535, allocations: 144.6 kB / 1.32 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4535, allocations: 0 / 1.32 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4536, allocations: 15.98 kB / 1.32 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4537, allocations: 4 kB / 1.32 GB, free: 5.434 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4537, allocations: 0 / 1.32 GB, free: 5.434 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4537, allocations: 3.984 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4537, allocations: 4 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4541, allocations: 199.3 kB / 1.32 GB, free: 5.215 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.4541, allocations: 4 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4541, allocations: 0 / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.4542, allocations: 11.98 kB / 1.32 GB, free: 5.199 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.4542, allocations: 3.984 kB / 1.32 GB, free: 5.195 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4542, allocations: 4 kB / 1.32 GB, free: 5.191 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.523e-05/0.4543, allocations: 87.27 kB / 1.32 GB, free: 5.105 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4543, allocations: 0 / 1.32 GB, free: 5.105 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002132/0.4545, allocations: 8 kB / 1.32 GB, free: 5.098 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 3
 * 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.0001479/0.4546, allocations: 99.61 kB / 1.32 GB, free: 4.992 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003358/0.455, allocations: 67.92 kB / 1.32 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.455, allocations: 0 / 1.32 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4551, allocations: 43.98 kB / 1.32 GB, free: 4.883 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.4555, allocations: 18.16 kB / 1.32 GB, free: 4.867 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.4559, allocations: 137.3 kB / 1.321 GB, free: 4.707 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4562, allocations: 0.6768 MB / 1.321 GB, free: 4.004 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.21e-05/0.4562, allocations: 7.938 kB / 1.321 GB, free: 3.996 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.4563, allocations: 7.438 kB / 1.321 GB, free: 3.988 MB / 1.014 GB
Notification: Performance of SimCode: time 4.91e-07/0.4563, allocations: 4 kB / 1.321 GB, free: 3.984 MB / 1.014 GB
Notification: Performance of Templates: time 0.003444/0.4597, allocations: 0.6894 MB / 1.322 GB, free: 3.305 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.523709560744464]