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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005217/0.005217, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001202/0.001202, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2791, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001518/0.2806, allocations: 0.5689 MB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.2809, allocations: 55.78 kB / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.2809, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2809, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.2809, allocations: 0 / 1.167 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2812, allocations: 23.92 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.2813, allocations: 31.95 kB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.2813, allocations: 8 kB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.2814, allocations: 8 kB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.2814, allocations: 15.92 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2814, allocations: 4 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.2815, allocations: 19.97 kB / 1.167 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.2815, allocations: 4 kB / 1.167 GB, free: 6.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2816, allocations: 15.92 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.2817, allocations: 31.89 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2817, allocations: 0 / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2817, allocations: 0 / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2817, allocations: 4 kB / 1.167 GB, free: 6.457 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.0003022/0.282, allocations: 339.6 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.282, allocations: 8.031 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.2821, allocations: 38.73 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.2821, allocations: 8.781 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.289e-05/0.2822, allocations: 163.5 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2822, allocations: 8.375 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2822, allocations: 4.375 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2824, allocations: 66.11 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2824, allocations: 11.92 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2824, allocations: 3.984 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2824, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2826, allocations: 107.8 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2827, allocations: 166.2 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2828, allocations: 70.55 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.2829, allocations: 32.84 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.2832, allocations: 409.5 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2833, allocations: 38.56 kB / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.2833, allocations: 0 / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002296/0.2835, allocations: 121.7 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2835, allocations: 59.41 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.2836, allocations: 93.86 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2836, allocations: 25.7 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.2836, allocations: 80.14 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.2837, allocations: 27.92 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.2837, allocations: 37.7 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2838, allocations: 310.8 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.2839, allocations: 19.98 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.2839, allocations: 23.98 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.284, allocations: 65.36 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.284, allocations: 0 / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001313/0.2842, allocations: 93.61 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2842, allocations: 11.94 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2842, allocations: 0 / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2842, allocations: 4 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.2843, allocations: 19.98 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2843, allocations: 3.984 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.2844, allocations: 7.844 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2844, allocations: 7.938 kB / 1.169 GB, free: 3.695 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.0001253/0.2845, allocations: 125.8 kB / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.2845, allocations: 3.938 kB / 1.169 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.2847, allocations: 125.6 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2847, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2848, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2848, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2849, allocations: 177.5 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2849, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.285, allocations: 23.92 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.2851, allocations: 7.938 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2851, allocations: 3.938 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2851, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2851, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2852, allocations: 125 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.2853, allocations: 88.89 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2853, allocations: 4 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.2853, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2854, allocations: 7.984 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.2854, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.832e-05/0.2854, allocations: 75.28 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2854, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001983/0.2857, allocations: 16 kB / 1.17 GB, free: 2.809 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.0004556/0.2861, allocations: 0.6709 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.2863, allocations: 63.91 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2863, allocations: 4 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.2863, allocations: 32.64 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2865, allocations: 4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2868, allocations: 186.6 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2871, allocations: 0.6845 MB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.2871, allocations: 35.94 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.2872, allocations: 23.42 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2872, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.3054, allocations: 1.566 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.109, allocations: 11.95 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > 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