Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001896/0.001896, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002317/0.002317, allocations: 189.1 kB / 22.11 MB, free: 5.156 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.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 495.8 MB / 0.783 GB, free: 33.61 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-maint.12.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 57.22 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4229, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002297/0.4252, allocations: 0.7921 MB / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001312/0.4265, allocations: 0.8624 MB / 1.308 GB, free: 224 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.4266, allocations: 4 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.4266, allocations: 7.875 kB / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.4267, allocations: 7.875 kB / 1.308 GB, free: 204 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.4269, allocations: 43.94 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001535/0.4271, allocations: 87.77 kB / 1.309 GB, free: 72 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4272, allocations: 15.98 kB / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4273, allocations: 43.89 kB / 1.309 GB, free: 12 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.4274, allocations: 43.92 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.4275, allocations: 8 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.4275, allocations: 11.94 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.4275, allocations: 31.81 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.4276, allocations: 31.8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.4277, allocations: 95.55 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4277, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.044e-06/0.4277, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.321e-06/0.4278, allocations: 0 / 1.309 GB, free: 15.79 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.0006956/0.4284, allocations: 322 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4285, allocations: 8.922 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.4285, allocations: 12.89 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.4287, allocations: 122.4 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4287, allocations: 384 / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4288, allocations: 8.375 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.4291, allocations: 109.5 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4291, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4291, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4291, allocations: 4 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.4295, allocations: 103.9 kB / 1.309 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.4302, allocations: 303.8 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.4308, allocations: 122.5 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.431, allocations: 56.81 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.431, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.431, allocations: 30.56 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.431, allocations: 0 / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0006968/0.4317, allocations: 193.4 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4318, allocations: 51.41 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4319, allocations: 125.7 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4319, allocations: 25.7 kB / 1.31 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.432, allocations: 100.1 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.432, allocations: 27.73 kB / 1.31 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.4321, allocations: 21.7 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001607/0.4323, allocations: 322.8 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4324, allocations: 43.95 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4326, allocations: 43.95 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.433, allocations: 96.78 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.433, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000435/0.4334, allocations: 145.5 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4334, allocations: 4 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4334, allocations: 4.547 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.4335, allocations: 4 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.4337, allocations: 23.97 kB / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4337, allocations: 0 / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4338, allocations: 15.92 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4338, allocations: 11.92 kB / 1.311 GB, free: 13.2 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,sub.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.000113/0.4339, allocations: 118.6 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.434, allocations: 11.95 kB / 1.311 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.434, allocations: 8.375 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.434, allocations: 3.984 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.434, allocations: 0 / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.434, allocations: 7.938 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4342, allocations: 164.7 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4342, allocations: 3.938 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.4344, allocations: 27.97 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4344, allocations: 0 / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4344, allocations: 4 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4344, allocations: 7.984 kB / 1.311 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4344, allocations: 0 / 1.311 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.4349, allocations: 235.3 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.4349, allocations: 15.88 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4349, allocations: 0 / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4351, allocations: 19.98 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.4352, allocations: 19.91 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4352, allocations: 8 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.445e-05/0.4352, allocations: 99.14 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4352, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002541/0.4355, allocations: 12 kB / 1.312 GB, free: 12.37 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 (sub.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.0001581/0.4357, allocations: 103.2 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004248/0.4361, allocations: 103.9 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4361, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.4363, allocations: 63.88 kB / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4366, allocations: 8.75 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.4371, allocations: 174.1 kB / 1.312 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4375, allocations: 0.6962 MB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.631e-05/0.4376, allocations: 15.73 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.4377, allocations: 19.42 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of SimCode: time 6.31e-07/0.4377, allocations: 0 / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of Templates: time 0.005069/0.4427, allocations: 1.633 MB / 1.315 GB, free: 9.512 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.45047111902386]