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.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.001371/0.001371, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00173/0.00173, allocations: 220 kB / 22.24 MB, free: 5.109 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.898/2.898, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.00221/0.00221, allocations: 65.75 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3442, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001917/0.3461, allocations: 0.5897 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.3464, allocations: 47.84 kB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.3464, allocations: 3.938 kB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.3465, allocations: 0 / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.662e-06/0.3465, allocations: 0 / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3468, allocations: 15.98 kB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.3469, allocations: 31.97 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3469, allocations: 4 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.347, allocations: 23.86 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.347, allocations: 7.984 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.347, allocations: 8 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.3471, allocations: 23.91 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.3471, allocations: 11.98 kB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3472, allocations: 7.938 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3473, allocations: 41.09 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3473, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3473, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3473, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 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.0003685/0.3477, allocations: 262.3 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3477, allocations: 12.03 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.3478, allocations: 34.75 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3478, allocations: 8.891 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.883e-05/0.3479, allocations: 106.5 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3479, allocations: 4.375 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3479, allocations: 8.297 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3481, allocations: 74.09 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3481, allocations: 3.938 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3481, allocations: 4 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3481, allocations: 0 / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3483, allocations: 95.86 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3485, allocations: 144.7 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3486, allocations: 66.64 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.3486, allocations: 32.84 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.3488, allocations: 19.98 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.3489, allocations: 34.5 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3489, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002697/0.3491, allocations: 117.8 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3492, allocations: 55.41 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.3493, allocations: 97.84 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3493, allocations: 25.7 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.3493, allocations: 80.14 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3494, allocations: 27.8 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.3494, allocations: 33.7 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3496, allocations: 318.8 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.3496, allocations: 15.98 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.3497, allocations: 27.92 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3498, allocations: 60.77 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3498, allocations: 3.938 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001578/0.3499, allocations: 90.28 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3499, allocations: 11.94 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3499, allocations: 3.984 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.35, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.3501, allocations: 20 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3501, allocations: 3.938 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.3501, allocations: 7.875 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3501, allocations: 7.984 kB / 1.285 GB, free: 9.57 MB / 0.9825 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.000149/0.3502, allocations: 117.8 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.3503, allocations: 11.89 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3505, allocations: 125.6 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3505, allocations: 0 / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3505, allocations: 4 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3505, allocations: 8 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3507, allocations: 140.7 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3507, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.3507, allocations: 23.92 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3507, allocations: 3.938 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3507, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3507, allocations: 4 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3507, allocations: 0 / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.3509, allocations: 121 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.3509, allocations: 11.88 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3509, allocations: 8 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.351, allocations: 0 / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.351, allocations: 11.92 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.351, allocations: 8 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.351, allocations: 75.28 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.351, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000198/0.3512, allocations: 12 kB / 1.286 GB, free: 8.82 MB / 0.9825 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.0005865/0.3518, allocations: 0.6684 MB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.352, allocations: 63.91 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.352, allocations: 4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.352, allocations: 35.91 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3522, allocations: 5.719 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.3526, allocations: 182.4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.584e-05/0.3527, allocations: 71.28 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.687e-05/0.3528, allocations: 39.88 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3528, allocations: 19.42 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3528, allocations: 4 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.3834, allocations: 2.062 MB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 14.98 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[6] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[7] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[7] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[8] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[8] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[9] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[9] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! Error: Could not read variable falFac[10] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac[10] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.660350205376744]