Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.001388/0.001388, 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.001452/0.001452, allocations: 186 kB / 22.23 MB, free: 5.164 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.496/1.496, allocations: 225.6 MB / 251 MB, free: 13 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.243/3.243, allocations: 496 MB / 0.7835 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.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.38 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002155/0.4065, allocations: 0.7185 MB / 1.308 GB, free: 1.055 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001097/0.4076, allocations: 0.8161 MB / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.4076, allocations: 0 / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.4076, allocations: 0 / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.4077, allocations: 7.875 kB / 1.309 GB, free: 224 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 7.523e-05/0.4078, allocations: 11.98 kB / 1.309 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001134/0.4079, allocations: 43.91 kB / 1.309 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.408, allocations: 8 kB / 1.309 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.4081, allocations: 19.92 kB / 1.309 GB, free: 140 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.4082, allocations: 15.92 kB / 1.309 GB, free: 124 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4082, allocations: 4 kB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.4082, allocations: 8 kB / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.4082, allocations: 19.91 kB / 1.309 GB, free: 92 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.4083, allocations: 11.94 kB / 1.309 GB, free: 80 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.4084, allocations: 43.75 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4084, allocations: 0 / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.345e-06/0.4084, allocations: 4 kB / 1.309 GB, free: 32 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.182e-06/0.4084, allocations: 0 / 1.309 GB, free: 32 kB / 0.9981 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.0006097/0.409, allocations: 286.2 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.409, allocations: 16.86 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.4091, allocations: 8.891 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4092, allocations: 110.4 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4092, allocations: 4.375 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4092, allocations: 384 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.4095, allocations: 66.22 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4095, allocations: 8.172 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4095, allocations: 3.938 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4095, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.4098, allocations: 67.88 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.4102, allocations: 236 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4105, allocations: 62.47 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4106, allocations: 36.92 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4106, allocations: 0 / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4107, allocations: 42.5 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.4107, allocations: 0 / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005547/0.4112, allocations: 129.6 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4113, allocations: 51.41 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4114, allocations: 113.8 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4114, allocations: 25.7 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.4115, allocations: 92.09 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.4115, allocations: 3.953 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.4115, allocations: 25.7 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001619/0.4117, allocations: 310.8 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4118, allocations: 31.97 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.412, allocations: 31.95 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4123, allocations: 77 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4123, allocations: 3.938 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.4126, allocations: 93.61 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4126, allocations: 8 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4126, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4126, allocations: 4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4127, allocations: 15.98 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4128, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.4128, allocations: 19.92 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4128, allocations: 4 kB / 1.311 GB, free: 13.89 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 9.359e-05/0.4129, allocations: 114.5 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.413, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.413, allocations: 19.88 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.413, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.413, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.413, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.4132, allocations: 152.5 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4132, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.4133, allocations: 15.98 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4133, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4133, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4133, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4133, allocations: 4 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.4137, allocations: 203.4 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.4137, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.4137, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4138, allocations: 11.98 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4139, allocations: 7.984 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.4139, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.299e-05/0.4139, allocations: 87.22 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4139, allocations: 0 / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002235/0.4142, allocations: 8 kB / 1.312 GB, free: 13.2 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.0001363/0.4143, allocations: 91.25 kB / 1.312 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000363/0.4147, allocations: 75.91 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4147, allocations: 0 / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.4148, allocations: 35.97 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.4152, allocations: 14.12 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.4155, allocations: 133.4 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4159, allocations: 0.6768 MB / 1.313 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.316e-05/0.4159, allocations: 4 kB / 1.313 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.416, allocations: 7.438 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of SimCode: time 4.21e-07/0.416, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of Templates: time 0.003703/0.4197, allocations: 0.6943 MB / 1.313 GB, free: 11.43 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.551948104053736]