Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 212.2 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 64.98 kB / 1.117 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4417, allocations: 169.9 MB / 1.283 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002079/0.4438, allocations: 0.705 MB / 1.284 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.445, allocations: 0.828 MB / 1.285 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.445, allocations: 3.938 kB / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.445, allocations: 0 / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.4451, allocations: 7.875 kB / 1.285 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.905e-05/0.4452, allocations: 23.97 kB / 1.285 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4453, allocations: 35.92 kB / 1.285 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4454, allocations: 8 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.4455, allocations: 19.92 kB / 1.285 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.4456, allocations: 19.91 kB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.4456, allocations: 4 kB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.4456, allocations: 4 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.4456, allocations: 4 kB / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.4457, allocations: 23.91 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.4458, allocations: 47.69 kB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4458, allocations: 0 / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4458, allocations: 7.938 kB / 1.285 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4458, allocations: 0 / 1.285 GB, free: 1.945 MB / 0.9825 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.000626/0.4464, allocations: 278.3 kB / 1.285 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4465, allocations: 12.03 kB / 1.285 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.4465, allocations: 4.891 kB / 1.285 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4466, allocations: 122.4 kB / 1.285 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4466, allocations: 384 / 1.285 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4466, allocations: 4.375 kB / 1.285 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.4469, allocations: 70.22 kB / 1.285 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4469, allocations: 192 / 1.285 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.447, allocations: 3.938 kB / 1.285 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.447, allocations: 4 kB / 1.285 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.4472, allocations: 63.86 kB / 1.285 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.4477, allocations: 204.6 kB / 1.285 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4479, allocations: 58.53 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.448, allocations: 40.86 kB / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.448, allocations: 0 / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4481, allocations: 30.56 kB / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4481, allocations: 0 / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005715/0.4487, allocations: 137.5 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.4487, allocations: 55.41 kB / 1.286 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4488, allocations: 105.8 kB / 1.286 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4489, allocations: 25.7 kB / 1.286 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.4489, allocations: 92.12 kB / 1.286 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.4489, allocations: 3.953 kB / 1.286 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.449, allocations: 21.7 kB / 1.286 GB, free: 488 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4492, allocations: 310.8 kB / 1.286 GB, free: 168 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4493, allocations: 35.97 kB / 1.286 GB, free: 132 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4494, allocations: 35.89 kB / 1.286 GB, free: 96 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4497, allocations: 72.72 kB / 1.286 GB, free: 20 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4497, allocations: 0 / 1.286 GB, free: 20 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00036/0.4501, allocations: 109.8 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4501, allocations: 4 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4501, allocations: 0 / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4501, allocations: 0 / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4503, allocations: 15.98 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4503, allocations: 0 / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.4503, allocations: 19.98 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4503, allocations: 3.984 kB / 1.287 GB, free: 15.86 MB / 0.9981 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.0001011/0.4504, allocations: 105.8 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.4505, allocations: 11.88 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.4505, allocations: 8 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4505, allocations: 0 / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4505, allocations: 4 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4505, allocations: 0 / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4507, allocations: 113.2 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4507, allocations: 11.94 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4508, allocations: 23.91 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4508, allocations: 0 / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4508, allocations: 0 / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4508, allocations: 0 / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4508, allocations: 4 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.4512, allocations: 187.5 kB / 1.287 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.4512, allocations: 7.938 kB / 1.287 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4512, allocations: 4 kB / 1.287 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4513, allocations: 11.97 kB / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.4514, allocations: 8 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4514, allocations: 0 / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.4514, allocations: 91.58 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4514, allocations: 0 / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002178/0.4517, allocations: 7.953 kB / 1.287 GB, free: 15.21 MB / 0.9981 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.0001381/0.4518, allocations: 99.19 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.4522, allocations: 67.92 kB / 1.287 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4522, allocations: 0 / 1.287 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.4523, allocations: 39.89 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.4526, allocations: 8 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.453, allocations: 121.6 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.4531, allocations: 67.28 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.4531, allocations: 7.984 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.4532, allocations: 7.438 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.4532, allocations: 0 / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.003451/0.4566, allocations: 0.751 MB / 1.288 GB, free: 14.02 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.431751314550638]