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.0008459/0.0008459, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008225/0.0008225, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9059/0.9059, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.895e-06/2.895e-06, allocations: 0 / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.494e-05, allocations: 4.812 kB / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001341/0.001376, allocations: 0.7028 MB / 0.9829 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.002236, allocations: 0.8237 MB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.002275, allocations: 0 / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.002309, allocations: 3.938 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.00239, allocations: 15.86 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.586e-05/0.002475, allocations: 11.98 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002581, allocations: 39.91 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.002719, allocations: 11.94 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.002817, allocations: 23.92 kB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.002862, allocations: 19.97 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.002889, allocations: 4 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002896, allocations: 4 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.002919, allocations: 11.94 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.002949, allocations: 11.97 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003055, allocations: 39.88 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003058, allocations: 4 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/0.00306, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.003064, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 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.000506/0.00357, allocations: 294.2 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.003623, allocations: 8.031 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.003667, allocations: 8.891 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.003789, allocations: 109.7 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.003807, allocations: 384 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.003818, allocations: 384 / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.004044, allocations: 74.16 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004054, allocations: 192 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.004066, allocations: 384 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.004074, allocations: 8.359 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.004222, allocations: 63.88 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.004514, allocations: 208.6 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.004633, allocations: 58.48 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.00471, allocations: 40.91 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.004721, allocations: 0 / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.004742, allocations: 34.56 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004743, allocations: 0 / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003126/0.005055, allocations: 125.5 kB / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.005087, allocations: 55.41 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.005155, allocations: 117.8 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.005167, allocations: 33.64 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.005204, allocations: 84.12 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.005225, allocations: 19.84 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.00525, allocations: 9.719 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.005348, allocations: 322.8 kB / 0.9855 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.005428, allocations: 31.95 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.005495, allocations: 31.97 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.00563, allocations: 68.78 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005633, allocations: 0 / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001659/0.005799, allocations: 97.91 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005812, allocations: 7.938 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005816, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.005834, allocations: 8.031 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.005917, allocations: 19.91 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005921, allocations: 0 / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.005958, allocations: 11.98 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.005965, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 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.408e-05/0.006029, allocations: 113.8 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.006043, allocations: 7.953 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.87e-05/0.006061, allocations: 11.94 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006065, allocations: 3.984 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006068, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006071, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.006162, allocations: 113.3 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006163, allocations: 0 / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.006201, allocations: 15.98 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006203, allocations: 4 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.006209, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006212, allocations: 8.25 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006213, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.006426, allocations: 195.4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.006433, allocations: 4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006445, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.0065, allocations: 19.92 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.006541, allocations: 3.984 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-06/0.006544, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.00658, allocations: 91.27 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00658, allocations: 0 / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001428/0.006723, allocations: 8 kB / 0.9864 GB, free: 13.54 MB / 0.948 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.643e-05/0.00681, allocations: 95.77 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.006995, allocations: 75.86 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006997, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.007069, allocations: 39.84 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.007279, allocations: 8 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.007555, allocations: 150.4 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.007598, allocations: 63.34 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.007631, allocations: 16.5 kB / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.007631, allocations: 0 / 0.9868 GB, free: 13.04 MB / 0.948 GB Notification: Performance of Templates: time 0.00162/0.009251, allocations: 0.7648 MB / 0.9876 GB, free: 12.28 MB / 0.948 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: 6.522538850083947]