Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000874/0.000874, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9091/0.9091, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.791/1.791, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.73e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00113/0.001147, allocations: 0.5877 MB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002228/0.00137, allocations: 55.73 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.001389, allocations: 4 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.001416, allocations: 3.938 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.001423, allocations: 0 / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.001699, allocations: 19.86 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.001775, allocations: 35.95 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.001811, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.001845, allocations: 19.97 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.001867, allocations: 4 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.001881, allocations: 4 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.00196, allocations: 23.95 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.001983, allocations: 8 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.00201, allocations: 19.92 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.002107, allocations: 35.88 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002109, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.61e-07/0.00211, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.002113, allocations: 0 / 1.001 GB, free: 12.62 MB / 0.9636 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.0002448/0.002358, allocations: 262.3 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.002395, allocations: 8.75 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.002424, allocations: 38.73 kB / 1.001 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.002447, allocations: 4.891 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.289e-05/0.0025, allocations: 109.7 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.002512, allocations: 8.375 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.002521, allocations: 8.375 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.002629, allocations: 70.09 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.002636, allocations: 192 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.002647, allocations: 8.375 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.002653, allocations: 4.125 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.002749, allocations: 91.88 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.002864, allocations: 132.8 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.00295, allocations: 74.47 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.002984, allocations: 32.84 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.003136, allocations: 11.98 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.00316, allocations: 42.56 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.003161, allocations: 0 / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0001927/0.003353, allocations: 113.9 kB / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.00338, allocations: 55.34 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.223e-05/0.003412, allocations: 105.8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003421, allocations: 25.7 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.003439, allocations: 84.12 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.003465, allocations: 23.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.003498, allocations: 37.64 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.003568, allocations: 310.8 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.003598, allocations: 19.98 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.003622, allocations: 23.98 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.003699, allocations: 64.77 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0037, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.06e-05/0.003791, allocations: 90.28 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.003802, allocations: 4 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.003807, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.003818, allocations: 4 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.003892, allocations: 27.84 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.003897, allocations: 4 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.003913, allocations: 7.938 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.003919, allocations: 7.938 kB / 1.002 GB, free: 10.55 MB / 0.9636 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.002e-05/0.004009, allocations: 125.8 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.004016, allocations: 3.953 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.004165, allocations: 125.6 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.004168, allocations: 3.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.004171, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.004175, allocations: 3.984 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.004251, allocations: 136.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004252, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.004289, allocations: 16 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.004292, allocations: 7.984 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.0043, allocations: 4 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.004302, allocations: 3.938 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004303, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.004405, allocations: 129 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-06/0.004411, allocations: 11.92 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.004423, allocations: 11.94 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.004431, allocations: 4 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.00446, allocations: 7.984 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.004464, allocations: 4 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.878e-05/0.004482, allocations: 79.28 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.004482, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001378/0.00462, allocations: 16 kB / 1.003 GB, free: 9.785 MB / 0.9636 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.0003892/0.005009, allocations: 0.6734 MB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.005115, allocations: 55.91 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005117, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.005151, allocations: 35.92 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.00525, allocations: 6.234 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.005529, allocations: 186.4 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.005572, allocations: 67.34 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.005618, allocations: 35.92 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.005647, allocations: 24.48 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of SimCode: time 4.9e-07/0.005648, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02105, allocations: 2.199 MB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.139, allocations: 0 / 1.006 GB, free: 6.562 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falFac[6] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[6] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[7] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[7] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[8] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[8] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[9] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[9] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[10] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[10] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.333924443461001]