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.001709/0.001709, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00218/0.00218, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.513/1.513, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.412/3.412, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.00213/0.00213, allocations: 68.17 kB / 1.186 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 181.9 MB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002324/0.3744, allocations: 0.6018 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.3748, allocations: 60.14 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.3749, allocations: 0 / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.3749, allocations: 4 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.3749, allocations: 0 / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3753, allocations: 15.92 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3754, allocations: 35.95 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.3755, allocations: 8 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.3755, allocations: 4 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.3756, allocations: 19.97 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3756, allocations: 4 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3757, allocations: 15.98 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.3757, allocations: 15.92 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3758, allocations: 15.92 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3759, allocations: 32.17 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.3759, allocations: 3.938 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3759, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3759, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 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.0004919/0.3764, allocations: 258.3 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3765, allocations: 8.031 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.3765, allocations: 42.73 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3766, allocations: 4.938 kB / 1.365 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3767, allocations: 102.5 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3767, allocations: 8.375 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3767, allocations: 4.375 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3769, allocations: 66.16 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3769, allocations: 3.938 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3769, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3769, allocations: 4 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3771, allocations: 95.81 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.3774, allocations: 144.6 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3775, allocations: 78.58 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3776, allocations: 28.78 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.3779, allocations: 19.98 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3779, allocations: 34.56 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3779, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002779/0.3782, allocations: 117.5 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3783, allocations: 51.41 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.3783, allocations: 102 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3784, allocations: 25.7 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3784, allocations: 88.08 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3784, allocations: 23.86 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.3785, allocations: 29.7 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3787, allocations: 314.8 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.3787, allocations: 23.92 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.3787, allocations: 19.98 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3788, allocations: 60.83 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3788, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001479/0.379, allocations: 89.61 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.379, allocations: 7.938 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.379, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.379, allocations: 3.984 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3791, allocations: 27.92 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3791, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.3792, allocations: 15.89 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3792, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 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.0001603/0.3793, allocations: 122.9 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.3794, allocations: 7.938 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3796, allocations: 121.4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3796, allocations: 4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3796, allocations: 7.938 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3796, allocations: 3.984 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3797, allocations: 144.7 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3797, allocations: 4 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.3798, allocations: 16 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3798, allocations: 3.938 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3798, allocations: 11.98 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3798, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3798, allocations: 3.938 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.38, allocations: 121.9 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.38, allocations: 7.922 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.38, allocations: 4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.38, allocations: 8 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3801, allocations: 7.984 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3801, allocations: 0 / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.3801, allocations: 79.22 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001954/0.3803, allocations: 16 kB / 1.367 GB, free: 10.56 MB / 1.061 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.0007902/0.3811, allocations: 0.6709 MB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3813, allocations: 63.91 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3813, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.3814, allocations: 31.92 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.3815, allocations: 8 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.382, allocations: 178.4 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.709e-05/0.3821, allocations: 71.28 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.456e-05/0.3821, allocations: 35.94 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.3822, allocations: 23.42 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3822, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.4129, allocations: 2.053 MB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 15.88 kB / 1.37 GB, free: 7.465 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.981376277282834]