Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002017/0.002017, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.002363/0.002363, allocations: 160.2 kB / 22.45 MB, free: 5.375 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.598/1.598, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.906/2.906, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.24e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001921/0.001953, allocations: 0.706 MB / 0.9822 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003133, allocations: 0.8276 MB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.003171, allocations: 3.938 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.003202, allocations: 3.938 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.003272, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.277e-05/0.003345, allocations: 15.98 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003455, allocations: 47.84 kB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003566, allocations: 4 kB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.003668, allocations: 31.91 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.003715, allocations: 11.98 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.003741, allocations: 4 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.003752, allocations: 4 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.003779, allocations: 11.92 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.00381, allocations: 15.92 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003915, allocations: 35.94 kB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003917, allocations: 11.88 kB / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003918, allocations: 0 / 0.9832 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003922, allocations: 0 / 0.9832 GB, free: 10.2 MB / 0.9356 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.0005826/0.004504, allocations: 294.1 kB / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.00455, allocations: 8.031 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.004583, allocations: 4.891 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.004701, allocations: 105.8 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.004717, allocations: 8.375 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.00473, allocations: 384 / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.005001, allocations: 74.2 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.00501, allocations: 192 / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.005023, allocations: 4.375 kB / 0.9837 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.005027, allocations: 384 / 0.9837 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.005341, allocations: 67.81 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.005746, allocations: 216.6 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.005971, allocations: 46.55 kB / 0.984 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.006147, allocations: 44.91 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.006161, allocations: 0 / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.006192, allocations: 38.5 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006193, allocations: 4 kB / 0.9841 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000581/0.006774, allocations: 129.5 kB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.006818, allocations: 55.39 kB / 0.9842 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006933, allocations: 105.8 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.006951, allocations: 25.7 kB / 0.9844 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.007009, allocations: 88.14 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.007033, allocations: 11.84 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.007075, allocations: 17.72 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.007219, allocations: 318.8 kB / 0.9848 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.007376, allocations: 31.97 kB / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.007521, allocations: 27.97 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.007816, allocations: 72.72 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007817, allocations: 4 kB / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003513/0.008169, allocations: 93.62 kB / 0.985 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.008187, allocations: 7.938 kB / 0.985 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.008193, allocations: 3.984 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008208, allocations: 0 / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.00835, allocations: 19.92 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008355, allocations: 4 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.00844, allocations: 11.98 kB / 0.9851 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.008447, allocations: 336 / 0.9851 GB, free: 8.121 MB / 0.9356 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.0001055/0.008553, allocations: 117.8 kB / 0.9852 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.008579, allocations: 3.953 kB / 0.9852 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.008616, allocations: 19.86 kB / 0.9852 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.008623, allocations: 7.984 kB / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.008628, allocations: 0 / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008631, allocations: 0 / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.008787, allocations: 109.3 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008788, allocations: 4 kB / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.008886, allocations: 11.98 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008887, allocations: 0 / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008896, allocations: 0 / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.008899, allocations: 7.938 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0089, allocations: 0 / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.00931, allocations: 203.4 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.00932, allocations: 4 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.009334, allocations: 0 / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.009444, allocations: 11.92 kB / 0.9855 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.009503, allocations: 11.92 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.009507, allocations: 0 / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.009569, allocations: 87.28 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.009569, allocations: 0 / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002311/0.0098, allocations: 4 kB / 0.9856 GB, free: 7.473 MB / 0.9356 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.0001483/0.009948, allocations: 107.8 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.01031, allocations: 63.92 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01031, allocations: 4 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.01048, allocations: 31.97 kB / 0.9858 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01081, allocations: 11.98 kB / 0.9858 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.01116, allocations: 128.7 kB / 0.986 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.004e-05/0.01123, allocations: 63.34 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.01126, allocations: 7.938 kB / 0.986 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.0113, allocations: 12.5 kB / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.0113, allocations: 0 / 0.986 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of Templates: time 0.003536/0.01483, allocations: 0.7286 MB / 0.9868 GB, free: 6.27 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.407082010060549]