Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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.00135/0.00135, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001372/0.001372, allocations: 157.3 kB / 23 MB, free: 4.605 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.81/2.81, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [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.002089/0.002089, allocations: 63.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7954, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002247/0.7977, allocations: 1.564 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.798, allocations: 125.5 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.7981, allocations: 1.094 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.7981, allocations: 4.5 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.819e-05/0.7981, allocations: 5.734 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.7984, allocations: 28.91 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.7984, allocations: 39.27 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.7985, allocations: 9.875 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.7986, allocations: 24.05 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.7986, allocations: 17.72 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.7986, allocations: 8.062 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.7987, allocations: 19.45 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.7987, allocations: 7.125 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.7987, allocations: 17.72 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.7988, allocations: 41.05 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7988, allocations: 0.5156 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7988, allocations: 1.156 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7988, allocations: 0 / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003614/0.7992, allocations: 283.5 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.7992, allocations: 11.88 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.7993, allocations: 5 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.429e-05/0.7993, allocations: 109 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.7993, allocations: 6.141 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.7994, allocations: 7 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.7995, allocations: 62.56 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7995, allocations: 192 / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7996, allocations: 12.95 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.7996, allocations: 1.312 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.7998, allocations: 48.41 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.8, allocations: 207.6 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.8003, allocations: 64.84 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.8004, allocations: 25.05 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.8005, allocations: 18.53 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.8005, allocations: 32.38 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8005, allocations: 4 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003653/0.8009, allocations: 96.67 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.8009, allocations: 53.3 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.801, allocations: 104.1 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-06/0.801, allocations: 25.7 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.801, allocations: 91.89 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.801, allocations: 10.09 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.801, allocations: 19.16 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.308e-05/0.8011, allocations: 317 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.8012, allocations: 20.33 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.8013, allocations: 20.39 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.8014, allocations: 41.8 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8014, allocations: 3.938 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002053/0.8016, allocations: 82.73 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.8016, allocations: 8.938 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8016, allocations: 0.6562 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.8017, allocations: 1.188 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.8017, allocations: 14.59 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8017, allocations: 5.156 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.8018, allocations: 6.094 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8018, allocations: 2.062 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * 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 4.236e-05/0.8019, allocations: 116.8 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.8019, allocations: 2.25 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.8021, allocations: 88.11 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8021, allocations: 0 / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.8021, allocations: 5.125 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8021, allocations: 1.031 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.8022, allocations: 112.9 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8022, allocations: 0 / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.8023, allocations: 15.64 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8023, allocations: 0 / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.8023, allocations: 5.672 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8023, allocations: 0 / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8023, allocations: 1.219 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.8025, allocations: 177.5 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.8025, allocations: 3.109 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.8026, allocations: 1.625 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.8026, allocations: 9.484 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.8027, allocations: 5.766 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.8027, allocations: 1.797 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.8027, allocations: 88.75 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8027, allocations: 1.094 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002257/0.8029, allocations: 7.781 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * 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.0001038/0.803, allocations: 110.4 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.8033, allocations: 49.58 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8033, allocations: 0 / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.8034, allocations: 25.34 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.8036, allocations: 10.95 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.8038, allocations: 125 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.8039, allocations: 63.19 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.8039, allocations: 7.922 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.8039, allocations: 15.25 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8039, allocations: 1.125 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of Templates: time 0.003054/0.807, allocations: 0.7705 MB / 1.192 GB, free: 12.39 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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.34468307706993]