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.001925/0.001925, 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.002087/0.002087, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.526/1.526, 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.367/3.367, allocations: 495.8 MB / 0.783 GB, free: 33.65 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.002574/0.002574, allocations: 66.98 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4244, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002189/0.4265, allocations: 0.7149 MB / 1.307 GB, free: 1.098 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001079/0.4276, allocations: 0.8083 MB / 1.308 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.4277, allocations: 0 / 1.308 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.4277, allocations: 3.938 kB / 1.308 GB, free: 280 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.4278, allocations: 15.88 kB / 1.308 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.946e-05/0.4278, allocations: 11.97 kB / 1.308 GB, free: 252 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.4279, allocations: 39.92 kB / 1.308 GB, free: 212 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.428, allocations: 7.984 kB / 1.308 GB, free: 204 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.4281, allocations: 23.88 kB / 1.308 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.4282, allocations: 19.91 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4282, allocations: 8 kB / 1.308 GB, free: 152 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.4282, allocations: 4 kB / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.4282, allocations: 4 kB / 1.308 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.4283, allocations: 23.86 kB / 1.308 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4284, allocations: 43.8 kB / 1.308 GB, free: 76 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4284, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.364e-06/0.4284, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.235e-05/0.4284, allocations: 0 / 1.308 GB, free: 76 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.0006233/0.429, allocations: 290.4 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4291, allocations: 12.03 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.4291, allocations: 4.891 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4292, allocations: 114.5 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4292, allocations: 384 / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4292, allocations: 4.375 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.4295, allocations: 70.16 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4295, allocations: 192 / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4296, allocations: 7.938 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4296, allocations: 7.938 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.4299, allocations: 59.92 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.4303, allocations: 244 kB / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.4305, allocations: 62.42 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4307, allocations: 40.91 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4307, allocations: 0 / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4308, allocations: 30.56 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.4308, allocations: 0 / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.000574/0.4313, allocations: 125.6 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.4314, allocations: 51.41 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4315, allocations: 109.8 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4315, allocations: 25.7 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.4316, allocations: 88.12 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4316, allocations: 19.89 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.4317, allocations: 17.66 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000171/0.4319, allocations: 314.8 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.432, allocations: 31.95 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4322, allocations: 32.16 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.4325, allocations: 72.86 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4325, allocations: 7.875 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003352/0.4328, allocations: 93.62 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4328, allocations: 4.625 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4328, allocations: 8 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4328, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.433, allocations: 23.91 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.433, allocations: 0 / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.503e-05/0.4331, allocations: 15.94 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4331, allocations: 320 / 1.31 GB, free: 13.93 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.0001008/0.4332, allocations: 118.5 kB / 1.31 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.4332, allocations: 4 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.4332, allocations: 15.98 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4332, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4333, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4333, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4335, allocations: 144.6 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4335, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.4336, allocations: 19.92 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4336, allocations: 0 / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.4336, allocations: 0 / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4336, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4336, allocations: 3.984 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.434, allocations: 199.3 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.434, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.434, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4341, allocations: 15.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.4342, allocations: 3.984 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4342, allocations: 4 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.644e-05/0.4342, allocations: 95.25 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4342, allocations: 0 / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002186/0.4345, allocations: 4 kB / 1.311 GB, free: 13.23 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.0001223/0.4346, allocations: 99.25 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003732/0.435, allocations: 71.92 kB / 1.311 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.435, allocations: 0 / 1.311 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4351, allocations: 35.91 kB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.4354, allocations: 13.8 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.4358, allocations: 121.5 kB / 1.311 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4362, allocations: 0.6807 MB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.906e-05/0.4362, allocations: 3.938 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.4362, allocations: 11.44 kB / 1.312 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of SimCode: time 4.31e-07/0.4362, allocations: 0 / 1.312 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of Templates: time 0.003461/0.4397, allocations: 0.693 MB / 1.313 GB, free: 11.46 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.540133262053132]