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.001128/0.001128, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001137/0.001138, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.527/2.527, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 69.55 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3199, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002047/0.322, allocations: 0.5786 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.3224, allocations: 59.78 kB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.3224, allocations: 3.938 kB / 1.019 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.3225, allocations: 0 / 1.019 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.3225, allocations: 0 / 1.019 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.3229, allocations: 19.92 kB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.323, allocations: 35.95 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.3231, allocations: 4 kB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.3231, allocations: 4 kB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.3232, allocations: 15.98 kB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3232, allocations: 7.984 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.3233, allocations: 15.98 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.3233, allocations: 8 kB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3234, allocations: 15.88 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3235, allocations: 35.88 kB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3235, allocations: 0 / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3235, allocations: 0 / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3235, allocations: 0 / 1.019 GB, free: 9.805 MB / 0.795 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.0003435/0.3239, allocations: 341.4 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3239, allocations: 12.88 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.324, allocations: 8.938 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3241, allocations: 172.5 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3241, allocations: 8.312 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3241, allocations: 4.375 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3243, allocations: 66.22 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3243, allocations: 192 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3243, allocations: 3.938 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3243, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3245, allocations: 103.9 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3247, allocations: 177.5 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3248, allocations: 78.47 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.3249, allocations: 32.84 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.3252, allocations: 401.5 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3252, allocations: 30.56 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3253, allocations: 0 / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.000279/0.3255, allocations: 117.9 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3256, allocations: 67.33 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.3256, allocations: 97.77 kB / 1.02 GB, free: 7.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.3257, allocations: 25.7 kB / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.3257, allocations: 80.14 kB / 1.02 GB, free: 7.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3257, allocations: 19.75 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3258, allocations: 33.7 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3259, allocations: 310.8 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.3259, allocations: 19.98 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.326, allocations: 23.97 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.3261, allocations: 65.44 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3261, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001397/0.3262, allocations: 93.52 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3262, allocations: 7.984 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3263, allocations: 11.88 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3263, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3264, allocations: 12 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3264, allocations: 7.984 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3264, allocations: 4 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3264, allocations: 11.98 kB / 1.021 GB, free: 7.086 MB / 0.795 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.0001382/0.3266, allocations: 118.3 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.3266, allocations: 3.906 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3268, allocations: 133.3 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3268, allocations: 4 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3269, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3269, allocations: 4 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.327, allocations: 177.6 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.327, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.3271, allocations: 16 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3271, allocations: 3.938 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3271, allocations: 11.98 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3271, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3271, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.3273, allocations: 121 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3273, allocations: 89.03 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3274, allocations: 3.938 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.3274, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3274, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3274, allocations: 7.984 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.3275, allocations: 75.28 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3275, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002066/0.3277, allocations: 16 kB / 1.022 GB, free: 6.207 MB / 0.795 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.0001963/0.3279, allocations: 111.8 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3281, allocations: 79.89 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3281, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.3281, allocations: 35.92 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3283, allocations: 4 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.3286, allocations: 188.9 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3289, allocations: 0.6807 MB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3289, allocations: 15.44 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3289, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of Templates: time 0.002572/0.3315, allocations: 0.958 MB / 1.024 GB, free: 4.074 MB / 0.795 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/jenkins1/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