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.006447/0.006447, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001268/0.001268, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.69 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3263, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001752/0.3281, allocations: 0.575 MB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.3284, allocations: 55.8 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.3284, allocations: 3.938 kB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3285, allocations: 4 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-06/0.3285, allocations: 0 / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3289, allocations: 19.92 kB / 1.089 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.329, allocations: 31.95 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.329, allocations: 7.938 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.3291, allocations: 8 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.3291, allocations: 15.97 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3291, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.3292, allocations: 15.98 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.3293, allocations: 12 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3293, allocations: 23.84 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3294, allocations: 39.89 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3294, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3294, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3295, allocations: 0 / 1.089 GB, free: 0.6758 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.0005208/0.33, allocations: 327.6 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.33, allocations: 12.03 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3301, allocations: 0.9375 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3302, allocations: 172.2 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3302, allocations: 8.375 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3302, allocations: 8.375 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3304, allocations: 62.58 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3304, allocations: 192 / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3304, allocations: 3.938 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3304, allocations: 0 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3306, allocations: 103.9 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3308, allocations: 177.5 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.331, allocations: 74.48 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3311, allocations: 32.84 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/0.3315, allocations: 401.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3315, allocations: 38.55 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3315, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002629/0.3318, allocations: 121.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3318, allocations: 55.41 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.3319, allocations: 97.77 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3319, allocations: 25.7 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3319, allocations: 84.14 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.332, allocations: 23.73 kB / 1.09 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.332, allocations: 37.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3322, allocations: 314.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.3322, allocations: 19.98 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.3322, allocations: 23.98 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.3323, allocations: 52.84 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3323, allocations: 3.938 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001365/0.3325, allocations: 101.4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3325, allocations: 12 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3325, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3325, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3327, allocations: 23.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3327, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.3327, allocations: 3.984 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3327, allocations: 4 kB / 1.091 GB, free: 13.98 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.000129/0.3329, allocations: 124.2 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.3329, allocations: 7.906 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3331, allocations: 137.3 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.3331, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3331, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3331, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3333, allocations: 173.6 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3333, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.3333, allocations: 15.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3334, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3334, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3334, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3334, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3335, allocations: 121.9 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3337, allocations: 84.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3337, allocations: 3.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.3337, allocations: 12 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.3338, allocations: 7.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3338, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.3338, allocations: 79.28 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3338, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001868/0.334, allocations: 20 kB / 1.092 GB, free: 13.09 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.0001769/0.3342, allocations: 115.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3344, allocations: 59.95 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3344, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.3344, allocations: 35.92 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3346, allocations: 8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.3349, allocations: 152.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3353, allocations: 0.686 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.3354, allocations: 35.92 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.3354, allocations: 15.44 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3354, allocations: 3.938 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of Templates: time 0.002959/0.3384, allocations: 0.6114 MB / 1.094 GB, free: 11.31 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