Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005783/0.005783, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001126/0.001126, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.883/2.883, allocations: 437 MB / 0.7105 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3299, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001593/0.3315, allocations: 0.5922 MB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.3319, allocations: 47.86 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.3319, allocations: 3.938 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.332, allocations: 0 / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-06/0.332, allocations: 0 / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.3324, allocations: 19.97 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3326, allocations: 35.97 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.114e-05/0.3326, allocations: 0 / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.3327, allocations: 8 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.3327, allocations: 19.91 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3327, allocations: 4 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3329, allocations: 15.98 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.3329, allocations: 15.92 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.333, allocations: 15.92 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3331, allocations: 31.83 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3331, allocations: 0 / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3331, allocations: 4 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3331, allocations: 0 / 1.167 GB, free: 5.98 MB / 0.92 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.0004591/0.3336, allocations: 343.4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3337, allocations: 11.98 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3337, allocations: 0.9375 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3339, allocations: 168.4 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3339, allocations: 384 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3339, allocations: 8.375 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3341, allocations: 62.52 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3341, allocations: 4.188 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3341, allocations: 7.938 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3341, allocations: 7.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.3343, allocations: 103.9 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.3345, allocations: 173.6 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3346, allocations: 74.48 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.3347, allocations: 28.84 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/0.3352, allocations: 401.5 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3352, allocations: 46.55 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 3.176e-06/0.3352, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.000332/0.3356, allocations: 117.8 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3356, allocations: 51.41 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.3357, allocations: 97.81 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3357, allocations: 29.7 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.3358, allocations: 80.14 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.3358, allocations: 27.78 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.3359, allocations: 33.72 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.336, allocations: 318.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.3361, allocations: 19.98 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.3361, allocations: 20.42 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3362, allocations: 68.88 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3363, allocations: 3.984 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001376/0.3364, allocations: 85.67 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3364, allocations: 4 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3364, allocations: 3.938 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3365, allocations: 4 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3366, allocations: 19.98 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3366, allocations: 3.984 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.3366, allocations: 15.89 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3366, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 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.0001435/0.3368, allocations: 129.7 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3368, allocations: 4 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.337, allocations: 121.5 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3371, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3371, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3371, allocations: 4 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3372, allocations: 173.6 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3372, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.3373, allocations: 23.92 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3373, allocations: 3.938 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3373, allocations: 4 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3374, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3374, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.3375, allocations: 121 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.3376, allocations: 88.94 kB / 1.17 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3376, allocations: 4 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.3376, allocations: 4 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3377, allocations: 19.91 kB / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3377, allocations: 4 kB / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.3377, allocations: 75.28 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.034e-06/0.3377, allocations: 4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002115/0.338, allocations: 19.94 kB / 1.171 GB, free: 2.363 MB / 0.92 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.0001842/0.3381, allocations: 111.2 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3383, allocations: 63.91 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3383, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.3384, allocations: 35.92 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3385, allocations: 4.766 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.3388, allocations: 152.8 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.339, allocations: 0.6807 MB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.3391, allocations: 35.94 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.3391, allocations: 15.44 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3391, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of Templates: time 0.002785/0.3419, allocations: 0.6096 MB / 1.172 GB, free: 0.6055 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches