Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7822, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002262/0.7845, allocations: 0.5758 MB / 1.269 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.7848, allocations: 61.66 kB / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.7849, allocations: 0 / 1.269 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.7849, allocations: 4 kB / 1.269 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.7849, allocations: 0 / 1.269 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.7852, allocations: 19.86 kB / 1.269 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.7853, allocations: 31.97 kB / 1.269 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.7854, allocations: 3.938 kB / 1.269 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.7854, allocations: 11.98 kB / 1.269 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.7855, allocations: 15.98 kB / 1.269 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.7855, allocations: 4 kB / 1.269 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.7856, allocations: 15.98 kB / 1.27 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.7856, allocations: 11.98 kB / 1.27 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.7857, allocations: 19.88 kB / 1.27 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.7858, allocations: 29.77 kB / 1.27 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.7858, allocations: 11.94 kB / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7858, allocations: 0 / 1.27 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.7858, allocations: 0 / 1.27 GB, free: 4.359 MB / 0.9669 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.0004322/0.7862, allocations: 335.4 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7863, allocations: 12.03 kB / 1.27 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.7863, allocations: 38.75 kB / 1.27 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.7864, allocations: 0.9375 kB / 1.27 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7865, allocations: 176.2 kB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.7865, allocations: 4.375 kB / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.7865, allocations: 8.375 kB / 1.27 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.7867, allocations: 58.23 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7867, allocations: 3.938 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7867, allocations: 0 / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.7867, allocations: 4 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.7869, allocations: 103.9 kB / 1.27 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.7871, allocations: 173.6 kB / 1.27 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.7873, allocations: 78.47 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.7873, allocations: 28.84 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/0.7877, allocations: 405.5 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.7878, allocations: 34.55 kB / 1.271 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.7878, allocations: 4 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002878/0.7881, allocations: 113.5 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7881, allocations: 51.41 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.7882, allocations: 102 kB / 1.271 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.7882, allocations: 25.7 kB / 1.271 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.7882, allocations: 84.08 kB / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.7883, allocations: 23.8 kB / 1.271 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.7883, allocations: 33.7 kB / 1.271 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7885, allocations: 318.8 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.7885, allocations: 23.92 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.7886, allocations: 19.98 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.7887, allocations: 56.84 kB / 1.272 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7887, allocations: 0 / 1.272 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001658/0.7888, allocations: 101.5 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7889, allocations: 7.938 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7889, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7889, allocations: 4 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.789, allocations: 15.98 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.789, allocations: 11.98 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.789, allocations: 3.953 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.789, allocations: 4 kB / 1.272 GB, free: 1.613 MB / 0.9669 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.0001862/0.7892, allocations: 122.7 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.7892, allocations: 7.922 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.7895, allocations: 130.2 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7895, allocations: 4 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7895, allocations: 7.938 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7895, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.7897, allocations: 169.6 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7897, allocations: 0 / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.7898, allocations: 23.98 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.7898, allocations: 3.938 kB / 1.272 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7898, allocations: 4 kB / 1.272 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7898, allocations: 0 / 1.272 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7898, allocations: 3.938 kB / 1.272 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.79, allocations: 125.1 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.79, allocations: 85.05 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.7901, allocations: 8 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.7901, allocations: 0 / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.7901, allocations: 7.984 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.7901, allocations: 4 kB / 1.273 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.7902, allocations: 79.22 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.7902, allocations: 0 / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002205/0.7904, allocations: 19.94 kB / 1.273 GB, free: 0.7148 MB / 0.9669 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.0006467/0.791, allocations: 0.6832 MB / 1.273 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.7912, allocations: 55.91 kB / 1.273 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7912, allocations: 3.938 kB / 1.273 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.7913, allocations: 35.98 kB / 1.273 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.7914, allocations: 4 kB / 1.273 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.7919, allocations: 186.4 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.7922, allocations: 0.6807 MB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.351e-05/0.7923, allocations: 35.94 kB / 1.274 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.7924, allocations: 19.42 kB / 1.274 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.7924, allocations: 3.938 kB / 1.274 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.8165, allocations: 1.575 MB / 1.276 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/9.017, allocations: 4.484 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.00147679168731]