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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002376/0.002376, allocations: 215 kB / 22.25 MB, free: 5.262 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 7.789 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.604/3.604, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.00222/0.00222, allocations: 69.47 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4509, allocations: 181.8 MB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00211/0.453, allocations: 0.705 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.4542, allocations: 0.8241 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.4542, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.4542, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.4543, allocations: 15.86 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.361e-05/0.4544, allocations: 11.98 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.4545, allocations: 47.84 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4546, allocations: 7.984 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.4547, allocations: 15.94 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.4548, allocations: 27.91 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4548, allocations: 4 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.4548, allocations: 4 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.4548, allocations: 4 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.4548, allocations: 19.92 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.455, allocations: 51.67 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.455, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.455, allocations: 3.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.455, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 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.0005808/0.4556, allocations: 286.3 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4556, allocations: 12.03 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4556, allocations: 4.891 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4558, allocations: 114.5 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4558, allocations: 384 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4558, allocations: 4.375 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.4561, allocations: 66.22 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4561, allocations: 192 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4561, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4561, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.4564, allocations: 67.86 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.4567, allocations: 208.6 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.4569, allocations: 54.53 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4571, allocations: 44.86 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4571, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4571, allocations: 30.56 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.4571, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.4577, allocations: 133.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4577, allocations: 55.41 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.4578, allocations: 109.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4578, allocations: 29.7 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.4579, allocations: 88.09 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4579, allocations: 11.94 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.458, allocations: 13.72 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.4581, allocations: 314.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4583, allocations: 31.95 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4584, allocations: 31.97 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.4587, allocations: 68.72 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4587, allocations: 4 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003152/0.459, allocations: 101.6 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.459, allocations: 8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.459, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.459, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4592, allocations: 15.98 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4592, allocations: 7.938 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.4593, allocations: 15.92 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4593, allocations: 4 kB / 1.367 GB, free: 9.824 MB / 1.061 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.238e-05/0.4594, allocations: 110.5 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.4594, allocations: 15.88 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.4594, allocations: 4 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4594, allocations: 0 / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4594, allocations: 0 / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4594, allocations: 3.938 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.4596, allocations: 113.2 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4596, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.4597, allocations: 27.91 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4597, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4597, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4597, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4597, allocations: 320 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.4601, allocations: 191.4 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.4601, allocations: 3.938 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4601, allocations: 7.984 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.4602, allocations: 11.98 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4602, allocations: 4 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4602, allocations: 4 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.4603, allocations: 91.25 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4603, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002107/0.4605, allocations: 11.94 kB / 1.368 GB, free: 9.164 MB / 1.061 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.0001274/0.4606, allocations: 91.25 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.461, allocations: 71.92 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.461, allocations: 0 / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4612, allocations: 36.42 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4615, allocations: 10.5 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.4618, allocations: 117.5 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.4619, allocations: 71.28 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.4619, allocations: 4 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.462, allocations: 19.38 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.462, allocations: 0 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of Templates: time 0.003362/0.4653, allocations: 0.7449 MB / 1.369 GB, free: 7.973 MB / 1.061 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/jenkins/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: 10.160219890996814]