Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001822/0.001822, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002026/0.002026, allocations: 217.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 70.2 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3987, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002031/0.4008, allocations: 0.5931 MB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.4011, allocations: 48.2 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.4012, allocations: 4 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.4012, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.4012, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.4015, allocations: 23.97 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.4017, allocations: 31.92 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.4017, allocations: 4 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.4017, allocations: 19.91 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.4018, allocations: 8 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.4018, allocations: 4 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4019, allocations: 23.95 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.4019, allocations: 8 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.402, allocations: 15.88 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.4021, allocations: 40.11 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4021, allocations: 0 / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.109e-06/0.4021, allocations: 3.984 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.4021, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 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.0004035/0.4025, allocations: 258.3 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4026, allocations: 12.03 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.4026, allocations: 34.75 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.4027, allocations: 8.891 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4028, allocations: 114.5 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4028, allocations: 8.375 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4028, allocations: 4.375 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.403, allocations: 70.11 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.403, allocations: 3.938 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.403, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.403, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4032, allocations: 95.94 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.4034, allocations: 148.6 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.4035, allocations: 66.55 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.4036, allocations: 24.84 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4038, allocations: 23.92 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4038, allocations: 34.89 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4038, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0002734/0.4041, allocations: 125.5 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4041, allocations: 55.41 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.4042, allocations: 89.86 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4042, allocations: 29.7 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.4042, allocations: 80.14 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.4043, allocations: 15.86 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.4043, allocations: 33.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4045, allocations: 322.8 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.4045, allocations: 23.98 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.4046, allocations: 27.86 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.4047, allocations: 52.84 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4047, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001409/0.4048, allocations: 94.27 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4048, allocations: 11.94 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4048, allocations: 0 / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4048, allocations: 3.938 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4049, allocations: 27.86 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.405, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.405, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.405, allocations: 12 kB / 1.329 GB, free: 14.57 MB / 1.029 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.0001595/0.4051, allocations: 122.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.4052, allocations: 11.89 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4054, allocations: 117.6 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4054, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4054, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4054, allocations: 7.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.4055, allocations: 148.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4055, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.4056, allocations: 23.98 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4056, allocations: 3.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4056, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4056, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4056, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4058, allocations: 117.1 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.4058, allocations: 11.89 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.4058, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.4058, allocations: 3.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.4058, allocations: 11.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4058, allocations: 7.984 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.4059, allocations: 79.28 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4059, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001923/0.4061, allocations: 16 kB / 1.329 GB, free: 13.8 MB / 1.029 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.000598/0.4067, allocations: 0.6592 MB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.4068, allocations: 59.91 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4068, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.4069, allocations: 39.84 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.407, allocations: 12 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.4075, allocations: 182.4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.043e-05/0.4075, allocations: 71.28 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.011e-05/0.4076, allocations: 35.94 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4077, allocations: 15.44 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.4077, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4355, allocations: 2.095 MB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 2.234 kB / 1.332 GB, free: 10.69 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 Buildings_12_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[6] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[7] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[7] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[8] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[8] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[9] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[9] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[10] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[10] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.681749192997813]