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.001698/0.001698, allocations: 110.2 kB / 19.69 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.001517/0.001517, allocations: 212.6 kB / 23.01 MB, free: 4.566 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.757/2.757, allocations: 476.7 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] 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.002081/0.002081, allocations: 68.3 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2981, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001952/0.3, allocations: 0.7081 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3011, allocations: 0.8355 MB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.3011, allocations: 0 / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.3011, allocations: 3.938 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.654e-05/0.3012, allocations: 11.94 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.859e-05/0.3013, allocations: 15.91 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.3013, allocations: 39.92 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3015, allocations: 11.98 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.3015, allocations: 27.86 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.3016, allocations: 19.91 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3016, allocations: 4 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.3016, allocations: 4 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.3016, allocations: 4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.3017, allocations: 23.86 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.3018, allocations: 39.81 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3018, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3018, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3018, allocations: 0 / 1.286 GB, free: 9.402 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.0005704/0.3023, allocations: 290.2 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3024, allocations: 12.03 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.3024, allocations: 0.9375 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3025, allocations: 122.4 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3026, allocations: 384 / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3026, allocations: 4.375 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3028, allocations: 74.16 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3028, allocations: 4.172 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3028, allocations: 3.938 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3028, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.3031, allocations: 59.92 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.3035, allocations: 236.1 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3037, allocations: 58.47 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3039, allocations: 44.84 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3039, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3039, allocations: 34.56 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3039, allocations: 3.938 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005168/0.3044, allocations: 125.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3045, allocations: 55.41 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3046, allocations: 113.8 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3046, allocations: 25.7 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3046, allocations: 92.12 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3047, allocations: 3.953 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3047, allocations: 17.72 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3048, allocations: 314.8 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.305, allocations: 35.89 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3051, allocations: 35.97 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3054, allocations: 64.78 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3054, allocations: 3.938 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003108/0.3057, allocations: 101.6 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3057, allocations: 4 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3057, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3057, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3058, allocations: 19.97 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3058, allocations: 3.938 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.3059, allocations: 11.98 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3059, allocations: 4 kB / 1.288 GB, free: 7.266 MB / 0.9825 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 8.321e-05/0.306, allocations: 117.8 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.306, allocations: 3.953 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.3061, allocations: 12 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3061, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3061, allocations: 3.984 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3061, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3062, allocations: 140.7 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3062, allocations: 0 / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.3063, allocations: 19.98 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3063, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3064, allocations: 336 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3064, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3064, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3067, allocations: 207.3 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.3067, allocations: 11.89 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3067, allocations: 3.938 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3068, allocations: 11.98 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3069, allocations: 3.984 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3069, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.307, allocations: 91.27 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.307, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002198/0.3072, allocations: 8 kB / 1.289 GB, free: 6.57 MB / 0.9825 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.0001143/0.3073, allocations: 99.25 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.3076, allocations: 67.92 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3076, allocations: 0 / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3078, allocations: 35.91 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.308, allocations: 15.92 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3084, allocations: 143.3 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3087, allocations: 0.6807 MB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3087, allocations: 11.44 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3087, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of Templates: time 0.002353/0.3111, allocations: 0.7574 MB / 1.291 GB, free: 4.711 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.879802670999197]