Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001462/0.001462, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001613/0.001613, allocations: 213.3 kB / 22.25 MB, free: 5.133 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.992 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.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 69 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003172/0.3871, allocations: 1.569 MB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000421/0.3875, allocations: 135.5 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.3876, allocations: 4 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.3876, allocations: 3.938 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.3877, allocations: 3.938 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.388, allocations: 31.91 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.3881, allocations: 39.91 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.3882, allocations: 16.2 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.3882, allocations: 8 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.3882, allocations: 27.92 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3883, allocations: 0 / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.3883, allocations: 27.95 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3884, allocations: 11.94 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3884, allocations: 11.92 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3885, allocations: 47.81 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3885, allocations: 0 / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3885, allocations: 4 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.3885, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 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.0005039/0.389, allocations: 274.2 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3891, allocations: 16.02 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.3891, allocations: 34.75 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.3891, allocations: 4.891 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3892, allocations: 110.5 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3893, allocations: 4.375 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3893, allocations: 384 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3895, allocations: 66.16 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3895, allocations: 3.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3895, allocations: 12 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3895, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.3897, allocations: 39.95 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3901, allocations: 251.9 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3904, allocations: 62.45 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3905, allocations: 28.91 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.3906, allocations: 19.98 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3907, allocations: 34.56 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3907, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000384/0.391, allocations: 97.56 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3911, allocations: 55.41 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.3912, allocations: 109.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3912, allocations: 29.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3912, allocations: 84.14 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.3913, allocations: 11.88 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3913, allocations: 17.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3914, allocations: 318.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.3915, allocations: 27.97 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.3916, allocations: 19.98 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3918, allocations: 40.81 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3918, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002201/0.392, allocations: 73.59 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.392, allocations: 8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.392, allocations: 7.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.392, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.3921, allocations: 11.98 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3921, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3922, allocations: 11.92 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3922, allocations: 0 / 1.33 GB, free: 13.96 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: 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 9.12e-05/0.3923, allocations: 118.3 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3923, allocations: 3.953 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.3926, allocations: 89.89 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3926, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3926, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3926, allocations: 3.984 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3928, allocations: 140.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3928, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.3928, allocations: 11.98 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3928, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3929, allocations: 8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3929, allocations: 3.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3929, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3932, allocations: 175.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3932, allocations: 11.94 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3932, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.3933, allocations: 8 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3933, allocations: 15.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3933, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.3934, allocations: 91.27 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3934, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002367/0.3936, allocations: 8 kB / 1.33 GB, free: 13.2 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: 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.0006309/0.3943, allocations: 0.7085 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.3945, allocations: 43.89 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3945, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3946, allocations: 31.91 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3949, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3965, allocations: 1.288 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3968, allocations: 0.6807 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3969, allocations: 7.984 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3969, allocations: 19.44 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3969, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4259, allocations: 1.82 MB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.1, allocations: 5.938 kB / 1.335 GB, free: 8.59 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.110560067001643]