Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8967, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001618/0.8983, allocations: 0.5772 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.8986, allocations: 64.77 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.8987, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.8987, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.196e-06/0.8987, allocations: 5.188 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.899, allocations: 17.5 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.8991, allocations: 30.48 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.8992, allocations: 2.594 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.8992, allocations: 10.59 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.8993, allocations: 15.36 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.8993, allocations: 2.031 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.8994, allocations: 24.59 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.8994, allocations: 11.3 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.8995, allocations: 16.92 kB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.8996, allocations: 32.88 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8996, allocations: 0 / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8996, allocations: 1.797 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.8996, allocations: 0 / 1.089 GB, free: 5.039 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00026/0.8999, allocations: 330.5 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8999, allocations: 8.125 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.8999, allocations: 7.562 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.9, allocations: 169.5 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.9, allocations: 6.406 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.9, allocations: 3.906 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.9002, allocations: 66.25 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9002, allocations: 192 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9002, allocations: 9.031 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.9002, allocations: 0.875 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.9004, allocations: 105 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.9005, allocations: 172.7 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.9007, allocations: 71.33 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.9007, allocations: 32.23 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.901, allocations: 403.2 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.901, allocations: 32.19 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.901, allocations: 0 / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00025/0.9012, allocations: 119.4 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.9013, allocations: 52.5 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.9013, allocations: 104.1 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.9013, allocations: 26.89 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.033e-05/0.9013, allocations: 80.14 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.9014, allocations: 23.16 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.9014, allocations: 32.67 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.9015, allocations: 317.7 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.9015, allocations: 23.22 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.9015, allocations: 21.62 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.9016, allocations: 67.17 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9017, allocations: 0 / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001367/0.9018, allocations: 97.31 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.9018, allocations: 6.234 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9018, allocations: 0 / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9018, allocations: 4.75 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.902, allocations: 18.98 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.902, allocations: 0 / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.902, allocations: 6.797 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.902, allocations: 6.812 kB / 1.092 GB, free: 2.84 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.499e-05/0.9021, allocations: 131.6 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.9021, allocations: 6.094 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.9024, allocations: 127.5 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.9024, allocations: 1.031 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9024, allocations: 1.219 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.9024, allocations: 86.48 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.9024, allocations: 1.609 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.9024, allocations: 5.188 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.9025, allocations: 12.02 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001498/0.9026, allocations: 177.6 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001631/0.9028, allocations: 263.8 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.182e-05/0.9029, allocations: 35.41 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.9029, allocations: 75.28 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.9029, allocations: 4.719 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.9033, allocations: 136.9 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002848/0.9036, allocations: 0.5639 MB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.00321/0.9068, allocations: 0.8194 MB / 1.094 GB, free: 1.312 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches