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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 176.6 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009275, allocations: 90.47 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.682e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 142.3 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8483/1.11, allocations: 147.8 MB / 1.35 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.11, allocations: 72.05 kB / 1.35 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002537/1.113, allocations: 0.822 MB / 1.351 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/1.113, allocations: 0.8125 kB / 1.351 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.99e-06/1.113, allocations: 0 / 1.351 GB, free: 34.16 MB / 0.8386 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.0002307/1.113, allocations: 329.2 kB / 1.352 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.113, allocations: 16.66 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.113, allocations: 4.531 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.866e-05/1.113, allocations: 172.2 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/1.113, allocations: 7.562 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/1.113, allocations: 7.875 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/1.114, allocations: 99.39 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.287e-05/1.114, allocations: 52.66 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.114, allocations: 0.6094 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/1.114, allocations: 0 / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.114, allocations: 3.906 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/1.114, allocations: 146 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/1.114, allocations: 72.34 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/1.114, allocations: 29.94 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/1.114, allocations: 402.5 kB / 1.352 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/1.114, allocations: 30.56 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/1.114, allocations: 0 / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003259/1.115, allocations: 88.91 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/1.115, allocations: 52.72 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/1.115, allocations: 91.08 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/1.115, allocations: 30.98 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/1.115, allocations: 84.33 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/1.115, allocations: 24.36 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/1.115, allocations: 0 / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.115, allocations: 313.4 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/1.115, allocations: 17.45 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/1.115, allocations: 16.38 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.115, allocations: 35.33 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.115, allocations: 1.25 kB / 1.353 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002164/1.115, allocations: 90.33 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.115, allocations: 9.219 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.115, allocations: 0.75 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.115, allocations: 1.281 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.116, allocations: 21.81 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.116, allocations: 0.6562 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/1.116, allocations: 5.156 kB / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.116, allocations: 4.234 kB / 1.353 GB, free: 32.15 MB / 0.8386 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 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/1.116, allocations: 114 kB / 1.353 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/1.116, allocations: 10.52 kB / 1.353 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/1.116, allocations: 118 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.116, allocations: 1.219 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.116, allocations: 0 / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.116, allocations: 4.688 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/1.116, allocations: 151.4 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.116, allocations: 5.219 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/1.116, allocations: 21.7 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.116, allocations: 5.312 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.116, allocations: 4.844 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.116, allocations: 5.266 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.116, allocations: 0.6094 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.117, allocations: 113.4 kB / 1.354 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/1.117, allocations: 84.22 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/1.117, allocations: 0.6094 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/1.117, allocations: 0 / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/1.117, allocations: 20.27 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/1.117, allocations: 3.406 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.082e-05/1.117, allocations: 75.28 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 3.938 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001809/1.117, allocations: 16.45 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/1.117, allocations: 115.3 kB / 1.354 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001167/1.117, allocations: 50.33 kB / 1.354 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.117, allocations: 9.25 kB / 1.354 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/1.117, allocations: 35.25 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.155e-05/1.117, allocations: 1.344 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/1.118, allocations: 93.22 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.118, allocations: 0.6855 MB / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.337e-05/1.118, allocations: 42.62 kB / 1.355 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/1.118, allocations: 12.12 kB / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.118, allocations: 0 / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.00237/1.12, allocations: 0.5494 MB / 1.356 GB, free: 30.6 MB / 0.8386 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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches