Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005452/0.005452, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001311/0.001311, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 68.03 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3329, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00277/0.3357, allocations: 1.531 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003902/0.3361, allocations: 136.5 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.3362, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.3362, allocations: 3.938 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.3363, allocations: 3.938 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3366, allocations: 31.89 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.3367, allocations: 39.91 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3368, allocations: 16 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.3369, allocations: 11.98 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.3369, allocations: 19.86 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3369, allocations: 11.92 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.337, allocations: 23.98 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3371, allocations: 4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.3371, allocations: 19.92 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3372, allocations: 47.75 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3373, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3373, allocations: 7.938 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3373, allocations: 0 / 1.168 GB, free: 4.875 MB / 0.92 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.0004845/0.3378, allocations: 359.3 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3378, allocations: 8.031 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3378, allocations: 0.9375 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.338, allocations: 168.3 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.338, allocations: 384 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.338, allocations: 4.375 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3382, allocations: 70.16 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3382, allocations: 192 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3383, allocations: 3.938 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3383, allocations: 4 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3385, allocations: 43.95 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.3389, allocations: 272.8 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.3392, allocations: 66.47 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3394, allocations: 28.89 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.3397, allocations: 401.6 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3397, allocations: 34.56 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3397, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003996/0.3401, allocations: 97.72 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3402, allocations: 59.34 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.3403, allocations: 109.8 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3403, allocations: 25.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3404, allocations: 80.14 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.3404, allocations: 11.95 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3404, allocations: 21.7 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3405, allocations: 322.7 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.3406, allocations: 15.98 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/0.3407, allocations: 24 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3409, allocations: 44.83 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3409, allocations: 3.984 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/0.3412, allocations: 81.61 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3412, allocations: 7.938 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3412, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3412, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.3413, allocations: 11.98 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3413, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.3414, allocations: 7.984 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3414, allocations: 4 kB / 1.171 GB, free: 2.211 MB / 0.92 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 9.994e-05/0.3415, allocations: 121.7 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.3416, allocations: 4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3418, allocations: 77.55 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3418, allocations: 7.938 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3419, allocations: 4 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3419, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.342, allocations: 169.6 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3421, allocations: 7.938 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.3421, allocations: 11.98 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3421, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3422, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.3425, allocations: 179.4 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.3425, allocations: 81.11 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3425, allocations: 0 / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.3426, allocations: 11.98 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.3427, allocations: 3.984 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.3427, allocations: 4 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.3428, allocations: 83.28 kB / 1.171 GB, free: 1.355 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 1.171 GB, free: 1.355 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002353/0.343, allocations: 8 kB / 1.171 GB, free: 1.348 MB / 0.92 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.0001775/0.3432, allocations: 119.1 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3435, allocations: 44.19 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3435, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3436, allocations: 28.06 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3439, allocations: 10.58 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.3442, allocations: 121.4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3445, allocations: 0.6806 MB / 1.172 GB, free: 300 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.3445, allocations: 4.547 kB / 1.172 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3446, allocations: 11.44 kB / 1.172 GB, free: 284 kB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3446, allocations: 0 / 1.172 GB, free: 284 kB / 0.92 GB Notification: Performance of Templates: time 0.003284/0.3479, allocations: 0.7604 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches