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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_9_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.005026/0.005026, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001095/0.001095, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.122/2.122, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6822, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001536/0.6838, allocations: 0.5809 MB / 1.088 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.6841, allocations: 59.45 kB / 1.088 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.855e-05/0.6841, allocations: 0 / 1.088 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.6841, allocations: 4 kB / 1.088 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.6841, allocations: 0 / 1.088 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.6844, allocations: 15.72 kB / 1.088 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.6845, allocations: 36.81 kB / 1.088 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.6846, allocations: 2.781 kB / 1.088 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.6846, allocations: 11.84 kB / 1.088 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.838e-05/0.6846, allocations: 10.91 kB / 1.088 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.6847, allocations: 2.25 kB / 1.088 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.6847, allocations: 19.78 kB / 1.088 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.6848, allocations: 16.33 kB / 1.088 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.6848, allocations: 12.64 kB / 1.088 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.806e-05/0.6849, allocations: 31.8 kB / 1.088 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6849, allocations: 2.016 kB / 1.088 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6849, allocations: 0 / 1.088 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6849, allocations: 0 / 1.088 GB, free: 5.043 MB / 0.8575 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.0002643/0.6852, allocations: 338.5 kB / 1.089 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6853, allocations: 9.031 kB / 1.089 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.6853, allocations: 34.36 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.6853, allocations: 7.156 kB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.869e-05/0.6854, allocations: 169.1 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.6854, allocations: 10.03 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.6854, allocations: 4.281 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.6856, allocations: 72.69 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6856, allocations: 5.031 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6856, allocations: 4 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6856, allocations: 1.062 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.6858, allocations: 101.5 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.6859, allocations: 173 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.686, allocations: 71.17 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.6861, allocations: 31.56 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.6863, allocations: 411.9 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.6864, allocations: 32.45 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.6864, allocations: 0 / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002371/0.6866, allocations: 115.2 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.6866, allocations: 52.78 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.151e-05/0.6867, allocations: 99.95 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.6867, allocations: 30.55 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.6867, allocations: 81.11 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.6867, allocations: 20.22 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.6868, allocations: 32.14 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.6868, allocations: 318.3 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.6869, allocations: 20.12 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.6869, allocations: 24.48 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.687, allocations: 59.02 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.687, allocations: 4 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001312/0.6871, allocations: 90.72 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6872, allocations: 9.125 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6872, allocations: 1.094 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6872, allocations: 5.609 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.6873, allocations: 21.03 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6873, allocations: 5.141 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.6873, allocations: 5.828 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.6874, allocations: 4.047 kB / 1.091 GB, free: 2.789 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 9.728e-05/0.6875, allocations: 127 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.6875, allocations: 15.06 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.6877, allocations: 126.5 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6877, allocations: 2.031 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6877, allocations: 0.6562 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6877, allocations: 6.047 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.6878, allocations: 184.1 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6878, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.6879, allocations: 18.72 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6879, allocations: 9.656 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.6879, allocations: 1.797 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6879, allocations: 1.094 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6879, allocations: 0 / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.6881, allocations: 117.5 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.6881, allocations: 87.84 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.6881, allocations: 5.844 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.6881, allocations: 3.938 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.6882, allocations: 11.19 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.6882, allocations: 7.734 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.15e-05/0.6882, allocations: 75.28 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6882, allocations: 1.125 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001922/0.6884, allocations: 11.52 kB / 1.091 GB, free: 2.086 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.0003724/0.6888, allocations: 0.672 MB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.6889, allocations: 64.41 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.689, allocations: 0.75 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.689, allocations: 35.89 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.6892, allocations: 7.453 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.6895, allocations: 180.4 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6898, allocations: 0.6856 MB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.769e-05/0.6899, allocations: 35.14 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.6899, allocations: 18.36 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.6899, allocations: 0 / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/2.246, allocations: 1.564 MB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.524/11.77, allocations: 5.375 kB / 1.095 GB, free: 16.15 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > 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/jenkins1/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