Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, 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.001714/0.001715, 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.512/1.512, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.615/2.615, allocations: 437.1 MB / 0.711 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 64.23 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002923/0.3077, allocations: 1.54 MB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.3081, allocations: 132.5 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.3082, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.3082, allocations: 7.922 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.3082, allocations: 3.938 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3085, allocations: 31.91 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.3086, allocations: 31.98 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.3087, allocations: 19.92 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.3087, allocations: 19.92 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.3088, allocations: 19.92 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3088, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.3089, allocations: 19.98 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3089, allocations: 3.984 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.3089, allocations: 23.86 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.309, allocations: 39.89 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.309, allocations: 0 / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3091, allocations: 4 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3091, allocations: 0 / 1.02 GB, free: 8.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004883/0.3096, allocations: 355.6 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3096, allocations: 12.92 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3096, allocations: 0.9375 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3098, allocations: 168.4 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3098, allocations: 384 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3098, allocations: 8.359 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.31, allocations: 66.22 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3101, allocations: 4.125 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3101, allocations: 11.88 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3101, allocations: 0 / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3103, allocations: 39.95 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3107, allocations: 284.7 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.311, allocations: 62.47 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3112, allocations: 34.36 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.3116, allocations: 401.5 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3116, allocations: 30.56 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3116, allocations: 4 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.312, allocations: 93.53 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.312, allocations: 51.41 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.3121, allocations: 113.8 kB / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3122, allocations: 25.7 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3122, allocations: 88.08 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3122, allocations: 7.906 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3123, allocations: 17.72 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3124, allocations: 322.8 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.3125, allocations: 19.98 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.3126, allocations: 15.97 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3128, allocations: 44.83 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3128, allocations: 4 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002309/0.3131, allocations: 77.64 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3131, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3131, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.3132, allocations: 15.92 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.3132, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.3133, allocations: 4 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3133, allocations: 11.98 kB / 1.022 GB, free: 6.012 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.708e-05/0.3134, allocations: 114.4 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3134, allocations: 7.906 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3137, allocations: 77.88 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3137, allocations: 48 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3137, allocations: 3.984 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3137, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3139, allocations: 173.7 kB / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3139, allocations: 4 kB / 1.022 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.314, allocations: 11.92 kB / 1.022 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.314, allocations: 4 kB / 1.022 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.314, allocations: 7.938 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.314, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.314, allocations: 3.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3143, allocations: 175.4 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.3144, allocations: 85.02 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3144, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.3145, allocations: 3.984 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3146, allocations: 7.984 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.3146, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.3146, allocations: 87.59 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3146, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002297/0.3149, allocations: 12 kB / 1.023 GB, free: 5.141 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001499/0.315, allocations: 111.2 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3153, allocations: 51.89 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3153, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3154, allocations: 23.98 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3157, allocations: 15.86 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.316, allocations: 135.3 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3163, allocations: 0.6807 MB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3164, allocations: 15.44 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3164, allocations: 3.938 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of Templates: time 0.002358/0.3187, allocations: 0.7997 MB / 1.025 GB, free: 3.238 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches