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.001146/0.001146, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01855/0.0197, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001095/0.001095, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002563, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9698/0.9698, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1215/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2667/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.152 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8184 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.815e-05, allocations: 8.5 kB / 0.8184 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001656/0.001674, allocations: 0.7574 MB / 0.8191 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.002644, allocations: 0.8547 MB / 0.8199 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.002678, allocations: 3.938 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.002701, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.002745, allocations: 11.86 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-05/0.002803, allocations: 15.98 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.002887, allocations: 35.92 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.002979, allocations: 15.92 kB / 0.82 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.003072, allocations: 23.98 kB / 0.82 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.003116, allocations: 15.92 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003138, allocations: 8 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.003148, allocations: 4 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.003162, allocations: 4 kB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.00319, allocations: 11.94 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.589e-05/0.003276, allocations: 31.89 kB / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.003291, allocations: 0 / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003292, allocations: 0 / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.003309, allocations: 0 / 0.8201 GB, free: 0.9648 MB / 0.7917 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.0004286/0.003737, allocations: 256.5 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.003776, allocations: 16.62 kB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.003803, allocations: 0.9375 kB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.003913, allocations: 121.7 kB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.003925, allocations: 384 / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.003935, allocations: 384 / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.004086, allocations: 74.84 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004094, allocations: 4.188 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004103, allocations: 384 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.00411, allocations: 384 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.004143, allocations: 7.938 kB / 0.8206 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004405, allocations: 156.2 kB / 0.8207 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.00448, allocations: 26.56 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.004506, allocations: 8.859 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.004515, allocations: 0 / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.004541, allocations: 38.62 kB / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004542, allocations: 0 / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000134/0.004676, allocations: 49.66 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.004712, allocations: 51.41 kB / 0.8209 GB, free: 56 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.004804, allocations: 114.7 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.004816, allocations: 25.7 kB / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.004853, allocations: 88.12 kB / 0.8211 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.004876, allocations: 11.91 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.004911, allocations: 17.7 kB / 0.8211 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.005007, allocations: 314.8 kB / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.00502, allocations: 3.984 kB / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.005031, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.005063, allocations: 16.8 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005065, allocations: 0 / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.527e-05/0.00513, allocations: 37.69 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.005145, allocations: 6.5 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00515, allocations: 0 / 0.8215 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.005162, allocations: 11.92 kB / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.005252, allocations: 12 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005255, allocations: 0 / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.005289, allocations: 7.984 kB / 0.8215 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005295, allocations: 0 / 0.8215 GB, free: 15.35 MB / 0.8073 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 6.236e-05/0.005358, allocations: 109.8 kB / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.005379, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.0054, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.005403, allocations: 3.938 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.005408, allocations: 11.94 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005411, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.005529, allocations: 69.88 kB / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00553, allocations: 3.938 kB / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.005575, allocations: 20.31 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.005587, allocations: 11.89 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005589, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.005594, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005595, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.005599, allocations: 11.92 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.005704, allocations: 127.5 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.00572, allocations: 8 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.005782, allocations: 7.984 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.005822, allocations: 7.984 kB / 0.8219 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.005827, allocations: 3.938 kB / 0.8219 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.022e-05/0.005847, allocations: 21.14 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.005847, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001987/0.006046, allocations: 4 kB / 0.822 GB, free: 14.88 MB / 0.8073 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 8.913e-05/0.006135, allocations: 80.36 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.006221, allocations: 16.84 kB / 0.822 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.006228, allocations: 4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.006253, allocations: 12.86 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.006469, allocations: 15.98 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.006891, allocations: 128.5 kB / 0.8222 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.006932, allocations: 59.28 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.006959, allocations: 8 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.007018, allocations: 51.38 kB / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.007019, allocations: 0 / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.002728/0.009746, allocations: 0.7034 MB / 0.823 GB, free: 13.76 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215565596707165]