Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.00181/0.00181, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002345/0.002345, allocations: 216.3 kB / 22.25 MB, free: 5.129 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.953 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.83/2.83, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002839/0.002839, allocations: 68.03 kB / 1.117 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3273, allocations: 169.9 MB / 1.283 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002668/0.33, allocations: 1.576 MB / 1.285 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.3303, allocations: 135.6 kB / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.3304, allocations: 0 / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.3304, allocations: 3.984 kB / 1.285 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.3304, allocations: 7.938 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.3307, allocations: 35.91 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.3308, allocations: 35.91 kB / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.3309, allocations: 8 kB / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.3309, allocations: 23.91 kB / 1.285 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.3309, allocations: 15.92 kB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.331, allocations: 4 kB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3311, allocations: 23.98 kB / 1.285 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3311, allocations: 7.984 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.3311, allocations: 19.86 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3312, allocations: 44.11 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3312, allocations: 3.984 kB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3312, allocations: 0 / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3312, allocations: 0 / 1.285 GB, free: 1.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004519/0.3317, allocations: 276.3 kB / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3317, allocations: 8.031 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3318, allocations: 34.69 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.3318, allocations: 8.891 kB / 1.286 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3319, allocations: 118.5 kB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3319, allocations: 8.312 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3319, allocations: 4.375 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3321, allocations: 62.22 kB / 1.286 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3321, allocations: 3.938 kB / 1.286 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3321, allocations: 0 / 1.286 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3321, allocations: 0 / 1.286 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3323, allocations: 43.95 kB / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3327, allocations: 263.8 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.333, allocations: 54.61 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3331, allocations: 24.83 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3333, allocations: 23.98 kB / 1.286 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3333, allocations: 38.5 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3333, allocations: 0 / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003792/0.3337, allocations: 89.62 kB / 1.286 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3337, allocations: 51.41 kB / 1.286 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.3338, allocations: 117.8 kB / 1.286 GB, free: 500 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3338, allocations: 25.7 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3339, allocations: 92.09 kB / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3339, allocations: 7.953 kB / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3339, allocations: 17.7 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3341, allocations: 318.8 kB / 1.287 GB, free: 12 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3342, allocations: 20.03 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3342, allocations: 15.92 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3344, allocations: 57.03 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3344, allocations: 0 / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002234/0.3346, allocations: 77.64 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3347, allocations: 6.188 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3347, allocations: 0 / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3347, allocations: 0 / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.3348, allocations: 11.98 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3348, allocations: 0 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.3348, allocations: 15.92 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3348, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.085e-05/0.3349, allocations: 113.8 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.335, allocations: 15.83 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.3352, allocations: 77.95 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3352, allocations: 0 / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3352, allocations: 8 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3352, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3354, allocations: 140.7 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3354, allocations: 0 / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.3355, allocations: 11.98 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3355, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3355, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3355, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3355, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3358, allocations: 179.4 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.3358, allocations: 11.95 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3358, allocations: 0 / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.3359, allocations: 7.984 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3359, allocations: 3.984 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.3359, allocations: 8 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.336, allocations: 91.33 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 4 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002263/0.3362, allocations: 8 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006145/0.3368, allocations: 0.7143 MB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3371, allocations: 55.94 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3371, allocations: 0 / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.3372, allocations: 20.27 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3374, allocations: 4 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.339, allocations: 1.307 MB / 1.29 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3393, allocations: 0.6768 MB / 1.29 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.3393, allocations: 4 kB / 1.29 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.3393, allocations: 19.42 kB / 1.29 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3393, allocations: 0 / 1.29 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.3742, allocations: 1.806 MB / 1.292 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 11.62 kB / 1.292 GB, free: 10.45 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falFac.y in file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.028617273001146]