Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001806/0.001806, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.00228/0.00228, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.221/3.221, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002134/0.002134, allocations: 71.8 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002104/0.3549, allocations: 0.7022 MB / 1.355 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.356, allocations: 0.8319 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.356, allocations: 0 / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.3561, allocations: 3.938 kB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.3562, allocations: 11.92 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.45e-05/0.3562, allocations: 15.98 kB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.3563, allocations: 39.86 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3564, allocations: 11.98 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.3565, allocations: 23.86 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.3566, allocations: 27.84 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3566, allocations: 4 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.3566, allocations: 4 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3566, allocations: 4 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3566, allocations: 19.92 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3567, allocations: 47.75 kB / 1.356 GB, free: 6.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3567, allocations: 4 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3567, allocations: 0 / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3568, allocations: 0 / 1.356 GB, free: 6.176 MB / 1.045 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.0005617/0.3573, allocations: 282.2 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3574, allocations: 12.03 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3574, allocations: 0.9375 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3575, allocations: 118.4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3575, allocations: 384 / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3576, allocations: 16.36 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3578, allocations: 66.16 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3578, allocations: 192 / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3578, allocations: 7.938 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3578, allocations: 4 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3581, allocations: 67.92 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3585, allocations: 240 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3587, allocations: 58.42 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.3588, allocations: 40.91 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3589, allocations: 4 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3589, allocations: 30.56 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3589, allocations: 0 / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005159/0.3594, allocations: 121.6 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3594, allocations: 55.41 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3595, allocations: 113.8 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3596, allocations: 29.64 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.3596, allocations: 84.12 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3596, allocations: 15.91 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3597, allocations: 9.719 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3598, allocations: 322.8 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.36, allocations: 35.91 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3601, allocations: 27.97 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3603, allocations: 68.78 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3603, allocations: 3.938 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002968/0.3606, allocations: 97.62 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3606, allocations: 6.188 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3606, allocations: 0 / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3607, allocations: 11.92 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3608, allocations: 15.92 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3608, allocations: 320 / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.3609, allocations: 15.98 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3609, allocations: 0 / 1.358 GB, free: 4.047 MB / 1.045 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.179e-05/0.361, allocations: 122.4 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.361, allocations: 3.953 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.361, allocations: 7.984 kB / 1.358 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.361, allocations: 4 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.361, allocations: 0 / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.361, allocations: 0 / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3612, allocations: 144.6 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3612, allocations: 4.328 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.3613, allocations: 15.98 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3613, allocations: 0 / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3613, allocations: 0 / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.3613, allocations: 7.969 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3613, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3617, allocations: 203.3 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.3617, allocations: 7.953 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3617, allocations: 0 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3618, allocations: 15.98 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.3619, allocations: 7.984 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3619, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.3619, allocations: 91.27 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3619, allocations: 4 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002326/0.3622, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 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.0001247/0.3623, allocations: 98.5 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3626, allocations: 63.92 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3626, allocations: 3.938 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3628, allocations: 43.89 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3631, allocations: 11.94 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3634, allocations: 135.4 kB / 1.359 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3638, allocations: 0.6807 MB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.3638, allocations: 11.44 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.3638, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of Templates: time 0.002292/0.3661, allocations: 0.751 MB / 1.36 GB, free: 1.496 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.339167494996218]