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.001903/0.001903, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002006/0.002006, allocations: 165.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.616/1.616, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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.971/2.971, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.274e-06/2.274e-06, allocations: 1.094 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.785e-05, allocations: 4 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001933/0.00196, allocations: 0.6992 MB / 0.7871 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003206, allocations: 0.8365 MB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.003242, allocations: 0.8125 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.003267, allocations: 3.938 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.003344, allocations: 0.7188 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.17e-05/0.003416, allocations: 18.11 kB / 0.788 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003518, allocations: 43.84 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003622, allocations: 15.92 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.003717, allocations: 23.92 kB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.003761, allocations: 15.97 kB / 0.7881 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003781, allocations: 5.375 kB / 0.7881 GB, free: 9.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.003791, allocations: 4 kB / 0.7881 GB, free: 9.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003809, allocations: 7.938 kB / 0.7881 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.003839, allocations: 11.98 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.003941, allocations: 48.36 kB / 0.7881 GB, free: 9.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003944, allocations: 0 / 0.7881 GB, free: 9.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003944, allocations: 1.062 kB / 0.7881 GB, free: 9.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003949, allocations: 0 / 0.7881 GB, free: 9.918 MB / 0.698 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.0005768/0.004526, allocations: 381.6 kB / 0.7885 GB, free: 9.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004564, allocations: 12.03 kB / 0.7885 GB, free: 9.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.004607, allocations: 8.891 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.00473, allocations: 115 kB / 0.7886 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004744, allocations: 4.375 kB / 0.7886 GB, free: 9.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004753, allocations: 384 / 0.7886 GB, free: 9.348 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004943, allocations: 58.23 kB / 0.7887 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.004952, allocations: 192 / 0.7887 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.004968, allocations: 384 / 0.7887 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004974, allocations: 4.375 kB / 0.7887 GB, free: 9.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.005158, allocations: 49.59 kB / 0.7887 GB, free: 9.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.005551, allocations: 263.8 kB / 0.789 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.005712, allocations: 51.64 kB / 0.789 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.922e-05/0.005811, allocations: 32.31 kB / 0.7891 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.005833, allocations: 5.094 kB / 0.7891 GB, free: 8.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.00587, allocations: 41.31 kB / 0.7891 GB, free: 8.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005871, allocations: 0 / 0.7891 GB, free: 8.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004068/0.006278, allocations: 95.38 kB / 0.7892 GB, free: 8.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.006323, allocations: 55.41 kB / 0.7893 GB, free: 8.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.006471, allocations: 179.3 kB / 0.7894 GB, free: 8.434 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.00649, allocations: 25.7 kB / 0.7895 GB, free: 8.402 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.006578, allocations: 134.9 kB / 0.7896 GB, free: 8.266 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.006827, allocations: 15.84 kB / 0.7896 GB, free: 8.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.006868, allocations: 16.34 kB / 0.7896 GB, free: 8.227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.007138, allocations: 0.4884 MB / 0.7901 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/0.007233, allocations: 20.73 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.007319, allocations: 22.58 kB / 0.7901 GB, free: 7.688 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.007485, allocations: 51.59 kB / 0.7902 GB, free: 7.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007487, allocations: 3.938 kB / 0.7902 GB, free: 7.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002182/0.007705, allocations: 77.66 kB / 0.7903 GB, free: 7.547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.007724, allocations: 7.938 kB / 0.7903 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.007731, allocations: 4.531 kB / 0.7903 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007746, allocations: 0.7188 kB / 0.7903 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.007854, allocations: 12.52 kB / 0.7903 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007858, allocations: 0 / 0.7903 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.007919, allocations: 9.656 kB / 0.7903 GB, free: 7.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.007927, allocations: 0 / 0.7903 GB, free: 7.516 MB / 0.698 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 0.000121/0.008048, allocations: 156.5 kB / 0.7904 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.008082, allocations: 16.44 kB / 0.7905 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.008109, allocations: 7.938 kB / 0.7905 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008111, allocations: 0.5938 kB / 0.7905 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.008114, allocations: 4.781 kB / 0.7905 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008117, allocations: 0 / 0.7905 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.008289, allocations: 124.6 kB / 0.7906 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00829, allocations: 1.156 kB / 0.7906 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.00836, allocations: 11.98 kB / 0.7906 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.008361, allocations: 1.375 kB / 0.7906 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008369, allocations: 0 / 0.7906 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.008375, allocations: 3.938 kB / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008376, allocations: 0 / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.008695, allocations: 220.8 kB / 0.7908 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.008707, allocations: 8.766 kB / 0.7908 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.00872, allocations: 0 / 0.7908 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.008809, allocations: 17.09 kB / 0.7908 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.008854, allocations: 8.359 kB / 0.7909 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.008858, allocations: 0 / 0.7909 GB, free: 6.887 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.008941, allocations: 128 kB / 0.791 GB, free: 6.762 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.008941, allocations: 4 kB / 0.791 GB, free: 6.758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002106/0.009152, allocations: 4 kB / 0.791 GB, free: 6.754 MB / 0.698 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.0001419/0.009294, allocations: 100.6 kB / 0.7911 GB, free: 6.645 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.009542, allocations: 56.83 kB / 0.7911 GB, free: 6.586 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009543, allocations: 0 / 0.7911 GB, free: 6.586 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.009653, allocations: 37.48 kB / 0.7912 GB, free: 6.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.009929, allocations: 15.92 kB / 0.7912 GB, free: 6.531 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.01028, allocations: 134.3 kB / 0.7913 GB, free: 6.371 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01035, allocations: 65.81 kB / 0.7914 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.01038, allocations: 0 / 0.7914 GB, free: 6.289 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.01042, allocations: 16.5 kB / 0.7914 GB, free: 6.273 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.01042, allocations: 0 / 0.7914 GB, free: 6.273 MB / 0.698 GB Notification: Performance of Templates: time 0.003641/0.01406, allocations: 0.7451 MB / 0.7921 GB, free: 5.562 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] 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.024061150033958]