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.007434/0.007434, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001488/0.001488, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.5 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3188, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001703/0.3206, allocations: 0.576 MB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.3209, allocations: 59.72 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.3209, allocations: 0 / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.3209, allocations: 4 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.3209, allocations: 3.938 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3212, allocations: 11.98 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.3213, allocations: 31.97 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.3214, allocations: 4 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.3214, allocations: 11.98 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.3214, allocations: 11.98 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3214, allocations: 4 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.3215, allocations: 15.98 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.3215, allocations: 15.92 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.3216, allocations: 11.92 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3217, allocations: 35.89 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3217, allocations: 4 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3217, allocations: 0 / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3217, allocations: 3.938 kB / 1.089 GB, free: 0.7109 MB / 0.8419 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.0003191/0.322, allocations: 339.5 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.3221, allocations: 8.031 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3221, allocations: 8.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.3222, allocations: 168.3 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3222, allocations: 4.375 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3222, allocations: 4.375 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3224, allocations: 66.56 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3224, allocations: 192 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3224, allocations: 3.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3224, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3226, allocations: 115.7 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3228, allocations: 173.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3229, allocations: 70.55 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.3229, allocations: 28.84 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003285/0.3233, allocations: 405.5 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3233, allocations: 34.55 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3233, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002359/0.3236, allocations: 121.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3236, allocations: 51.41 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.3236, allocations: 97.77 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3237, allocations: 29.7 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.3237, allocations: 80.14 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3237, allocations: 19.75 kB / 1.09 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.3238, allocations: 33.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3239, allocations: 322.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.3239, allocations: 19.98 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.324, allocations: 19.98 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.723e-05/0.3241, allocations: 61.44 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3241, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001349/0.3242, allocations: 101.4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3242, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3242, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3243, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.3243, allocations: 15.98 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3244, allocations: 8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.3244, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3244, allocations: 4 kB / 1.091 GB, free: 14.01 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 0.0001058/0.3245, allocations: 127.7 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3245, allocations: 7.844 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3247, allocations: 125.4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3247, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3248, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3248, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3249, allocations: 177.5 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3249, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.325, allocations: 23.92 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.325, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.325, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.325, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.325, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3252, allocations: 125 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.3252, allocations: 88.98 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3252, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.3252, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3253, allocations: 11.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3253, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.3253, allocations: 75.28 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3253, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002014/0.3255, allocations: 20 kB / 1.092 GB, free: 13.11 MB / 0.8575 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 (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.0001643/0.3257, allocations: 116.4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.3258, allocations: 59.97 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3258, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.3259, allocations: 35.92 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.326, allocations: 9.562 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.3263, allocations: 148.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3265, allocations: 0.686 MB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.056e-05/0.3266, allocations: 35.94 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3266, allocations: 15.44 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3266, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.002422/0.329, allocations: 0.6155 MB / 1.094 GB, free: 11.34 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/jenkins/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