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.001732/0.001732, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.002072/0.002072, allocations: 165.5 kB / 22.46 MB, free: 5.355 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.752/2.752, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.702e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002086/0.002123, allocations: 0.699 MB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.003534, allocations: 0.8238 MB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.003593, allocations: 4 kB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003621, allocations: 3.938 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.003708, allocations: 11.88 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.158e-05/0.00379, allocations: 7.984 kB / 0.9526 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003927, allocations: 47.84 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.004053, allocations: 11.94 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004175, allocations: 27.95 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.004235, allocations: 19.92 kB / 0.9527 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004258, allocations: 4 kB / 0.9527 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.004267, allocations: 4 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.004289, allocations: 7.984 kB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004329, allocations: 11.94 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004443, allocations: 39.92 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004446, allocations: 0 / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004447, allocations: 0 / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.004452, allocations: 0 / 0.9527 GB, free: 9.777 MB / 0.8575 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.0006311/0.005084, allocations: 294.2 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.005136, allocations: 15.97 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.005178, allocations: 0.9375 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005321, allocations: 117.7 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.005336, allocations: 384 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.005349, allocations: 4.375 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.005697, allocations: 70.2 kB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.005711, allocations: 192 / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.005724, allocations: 384 / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005731, allocations: 4.375 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.006081, allocations: 71.84 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.006498, allocations: 208.6 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.006724, allocations: 54.58 kB / 0.9535 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.00691, allocations: 44.81 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.006926, allocations: 0 / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.006959, allocations: 30.56 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.00696, allocations: 0 / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006167/0.007576, allocations: 141.4 kB / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.007632, allocations: 51.41 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007766, allocations: 113.8 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.007787, allocations: 25.7 kB / 0.9539 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.007852, allocations: 84.14 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.007884, allocations: 15.84 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.007932, allocations: 13.72 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.008107, allocations: 318.8 kB / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.008262, allocations: 27.97 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.008409, allocations: 39.95 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.008695, allocations: 60.8 kB / 0.9544 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.008697, allocations: 0 / 0.9544 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003571/0.009054, allocations: 105.5 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.009076, allocations: 11.94 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009081, allocations: 0 / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.009096, allocations: 0 / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.009228, allocations: 11.98 kB / 0.9546 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.009235, allocations: 4 kB / 0.9546 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.00932, allocations: 7.984 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.009331, allocations: 4 kB / 0.9546 GB, free: 7.688 MB / 0.8575 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.851e-05/0.009429, allocations: 117.8 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.00946, allocations: 7.953 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.009489, allocations: 7.938 kB / 0.9547 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.009494, allocations: 4 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.009499, allocations: 0 / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009502, allocations: 3.938 kB / 0.9547 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.009667, allocations: 113.3 kB / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009668, allocations: 0 / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.009768, allocations: 19.92 kB / 0.9548 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.00977, allocations: 0 / 0.9548 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.009779, allocations: 4 kB / 0.9549 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.009784, allocations: 7.875 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.009787, allocations: 3.984 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.01024, allocations: 187.8 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.01026, allocations: 7.953 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.01027, allocations: 0 / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01039, allocations: 19.97 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.01043, allocations: 15.97 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.01044, allocations: 0 / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.0105, allocations: 91.56 kB / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002179/0.01072, allocations: 8 kB / 0.9552 GB, free: 7.02 MB / 0.8575 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.0001491/0.01087, allocations: 98.34 kB / 0.9553 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.01125, allocations: 71.86 kB / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01125, allocations: 0 / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.01143, allocations: 31.97 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01176, allocations: 11.98 kB / 0.9554 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.01214, allocations: 124.9 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.01227, allocations: 63.34 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.01229, allocations: 4 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.01233, allocations: 12.5 kB / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.01233, allocations: 0 / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.003786/0.01612, allocations: 0.7423 MB / 0.9563 GB, free: 5.82 MB / 0.8575 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: 8.021174382418394]