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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.00137/0.00137, allocations: 185.2 kB / 487 MB, free: 5.324 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.251/1.251, allocations: 221.3 MB / 0.7819 GB, free: 1.289 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.0009762/0.0009762, allocations: 82.14 kB / 0.9213 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.225e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5763/0.7977, allocations: 147.8 MB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.798, allocations: 72.23 kB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001851/0.7998, allocations: 0.5173 MB / 1.35 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7999, allocations: 0.9688 kB / 1.35 GB, free: 15.75 MB / 0.8073 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.0002046/0.8001, allocations: 330.5 kB / 1.35 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8001, allocations: 8.25 kB / 1.35 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.8002, allocations: 6.656 kB / 1.35 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.917e-05/0.8002, allocations: 169.7 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.8002, allocations: 1.375 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.8003, allocations: 6.75 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001731/0.8004, allocations: 100.8 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.8005, allocations: 57.14 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.8006, allocations: 0 / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.8006, allocations: 0 / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8006, allocations: 2.531 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.8007, allocations: 146 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/0.8008, allocations: 75.72 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.8009, allocations: 34.12 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.8011, allocations: 402 kB / 1.351 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.8011, allocations: 36.11 kB / 1.351 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.8011, allocations: 0 / 1.351 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0003395/0.8015, allocations: 84.94 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.8015, allocations: 53.03 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.686e-05/0.8015, allocations: 92.42 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.8015, allocations: 29.2 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.25e-05/0.8016, allocations: 84.33 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8016, allocations: 16.05 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.8016, allocations: 1.031 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.8016, allocations: 320.4 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.8017, allocations: 18.86 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.8017, allocations: 21.89 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.8019, allocations: 29.39 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8019, allocations: 0.875 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002586/0.8022, allocations: 91.62 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.8022, allocations: 8.812 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8022, allocations: 1.359 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8022, allocations: 0.9688 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8024, allocations: 22.81 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8024, allocations: 3.938 kB / 1.352 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.8024, allocations: 0.9688 kB / 1.352 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.8024, allocations: 3 kB / 1.352 GB, free: 13.76 MB / 0.8073 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 5.556e-05/0.8025, allocations: 110.9 kB / 1.352 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.8025, allocations: 9.375 kB / 1.352 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.8028, allocations: 132.9 kB / 1.352 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8028, allocations: 1.469 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8029, allocations: 1.359 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8029, allocations: 0 / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.98e-05/0.8029, allocations: 151.5 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.803, allocations: 1.219 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.803, allocations: 25.48 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.803, allocations: 0.8438 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8031, allocations: 13.19 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.8031, allocations: 1.375 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8031, allocations: 0 / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002576/0.8033, allocations: 119 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.8034, allocations: 79.39 kB / 1.353 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.8034, allocations: 1.281 kB / 1.353 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.546e-05/0.8034, allocations: 7.906 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.8034, allocations: 11.12 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.8035, allocations: 3.25 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.144e-05/0.8035, allocations: 76.66 kB / 1.353 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000209/0.8037, allocations: 10.94 kB / 1.353 GB, free: 13.18 MB / 0.8073 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.0001914/0.8039, allocations: 119.3 kB / 1.353 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.804, allocations: 54.66 kB / 1.353 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.804, allocations: 5.375 kB / 1.353 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.8041, allocations: 35.64 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.957e-05/0.8042, allocations: 1.844 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.8044, allocations: 96.12 kB / 1.353 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.8046, allocations: 0.7063 MB / 1.354 GB, free: 28.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.8047, allocations: 0 / 1.354 GB, free: 28.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004507/0.8092, allocations: 0.8941 MB / 1.355 GB, free: 28.2 MB / 0.823 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