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.411/2.411, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001174/0.001174, allocations: 184.9 kB / 498.1 MB, free: 5.773 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.741/1.741, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 102.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004873, allocations: 8.625 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3546, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.5451, allocations: 148.6 MB / 1.368 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5454, allocations: 87.92 kB / 1.368 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002133/0.5475, allocations: 0.8164 MB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5476, allocations: 0 / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.5476, allocations: 0 / 1.369 GB, free: 12.61 MB / 0.8698 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.0003119/0.5479, allocations: 331.9 kB / 1.369 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.548, allocations: 12.03 kB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.548, allocations: 3.906 kB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.5481, allocations: 173.7 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.5481, allocations: 8 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.5482, allocations: 8 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5483, allocations: 61.61 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5484, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5484, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5484, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.5485, allocations: 103.9 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.5487, allocations: 177.5 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.5489, allocations: 70.66 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.5492, allocations: 409.7 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.5492, allocations: 34.5 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.5493, allocations: 0 / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002579/0.5495, allocations: 121.4 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5496, allocations: 55.41 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.5496, allocations: 89 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5496, allocations: 25.7 kB / 1.37 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.5497, allocations: 84.33 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.5497, allocations: 27.64 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.5497, allocations: 4 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5499, allocations: 314.8 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.5499, allocations: 19.98 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.55, allocations: 19.98 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.55, allocations: 27.98 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.55, allocations: 3.953 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001508/0.5502, allocations: 93.55 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5502, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5502, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5503, allocations: 7.938 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5504, allocations: 19.98 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5504, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.5504, allocations: 11.91 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5504, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.5506, allocations: 129.5 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.5506, allocations: 7.953 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.5508, allocations: 129.8 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5509, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5509, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5509, allocations: 4 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.5511, allocations: 177.6 kB / 1.371 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5511, allocations: 0 / 1.371 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.5512, allocations: 23.94 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5512, allocations: 0 / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5512, allocations: 4 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5512, allocations: 4 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5512, allocations: 4 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.5514, allocations: 122.2 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.5515, allocations: 81.05 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5515, allocations: 3.953 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.5515, allocations: 8 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.5516, allocations: 7.984 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5516, allocations: 0 / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.5516, allocations: 83.28 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5516, allocations: 0 / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002185/0.5518, allocations: 16 kB / 1.372 GB, free: 9.133 MB / 0.8698 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 () * Number of clocked 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.0002773/0.5521, allocations: 111.2 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.5523, allocations: 71.89 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5523, allocations: 0 / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.5524, allocations: 39.91 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.5525, allocations: 8 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.5529, allocations: 142.7 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5532, allocations: 0.6848 MB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.5533, allocations: 39.72 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.5533, allocations: 15.44 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/0.5534, allocations: 0 / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of Templates: time 0.002745/0.5561, allocations: 0.5477 MB / 1.373 GB, free: 7.414 MB / 0.8698 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