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.000956/0.000956, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001145/0.001145, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9367/0.9367, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.995e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001163/0.001183, allocations: 0.5993 MB / 0.9816 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.001408, allocations: 55.8 kB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.001426, allocations: 0 / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.001455, allocations: 0 / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.001462, allocations: 0 / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.001782, allocations: 27.84 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.001861, allocations: 23.97 kB / 0.9817 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.001902, allocations: 4 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.001943, allocations: 19.97 kB / 0.9817 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.49e-05/0.001968, allocations: 7.984 kB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.001983, allocations: 0 / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.002071, allocations: 23.97 kB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.002099, allocations: 15.94 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.002124, allocations: 11.97 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002228, allocations: 39.83 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002229, allocations: 0 / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.203e-06/0.002231, allocations: 0 / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002235, allocations: 0 / 0.9818 GB, free: 1.688 MB / 0.9323 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.0002368/0.002472, allocations: 262.3 kB / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.002506, allocations: 12.03 kB / 0.9821 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.002535, allocations: 34.75 kB / 0.9821 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.002558, allocations: 4.938 kB / 0.9821 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.433e-05/0.002613, allocations: 109.8 kB / 0.9822 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.002623, allocations: 4.375 kB / 0.9822 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.002634, allocations: 8.375 kB / 0.9822 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.002748, allocations: 66.16 kB / 0.9823 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.002754, allocations: 192 / 0.9823 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.002763, allocations: 384 / 0.9823 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.002769, allocations: 8.125 kB / 0.9823 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.002871, allocations: 95.86 kB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.002995, allocations: 144.6 kB / 0.9825 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.003079, allocations: 66.59 kB / 0.9826 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.003115, allocations: 32.78 kB / 0.9826 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.003275, allocations: 23.98 kB / 0.9827 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003294, allocations: 30.56 kB / 0.9827 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 8.71e-07/0.003295, allocations: 0 / 0.9827 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0001973/0.003492, allocations: 109.6 kB / 0.9828 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.003521, allocations: 63.55 kB / 0.9829 GB, free: 492 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.315e-05/0.003554, allocations: 97.81 kB / 0.9829 GB, free: 384 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.003566, allocations: 29.64 kB / 0.983 GB, free: 348 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.003586, allocations: 84.14 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.003614, allocations: 27.78 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.003645, allocations: 29.7 kB / 0.9831 GB, free: 196 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.003741, allocations: 318.8 kB / 0.9834 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.003771, allocations: 23.98 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.003795, allocations: 23.92 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.003877, allocations: 56.83 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.003879, allocations: 0 / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001063/0.003985, allocations: 93.61 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.003999, allocations: 4 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.004005, allocations: 3.984 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.004018, allocations: 0 / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.004106, allocations: 23.88 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.004113, allocations: 0 / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.00413, allocations: 15.89 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.004138, allocations: 3.984 kB / 0.9836 GB, free: 15.62 MB / 0.948 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.0001275/0.004266, allocations: 117.8 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.004275, allocations: 8 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.00445, allocations: 121.5 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.004455, allocations: 11.88 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.00446, allocations: 0 / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004463, allocations: 0 / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.004553, allocations: 140.7 kB / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.004555, allocations: 4 kB / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.004601, allocations: 19.98 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.004604, allocations: 0 / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.004612, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.004616, allocations: 3.938 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004616, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.004736, allocations: 125.9 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.00475, allocations: 11.94 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.004766, allocations: 7.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.004776, allocations: 4 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.004813, allocations: 11.91 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.004818, allocations: 11.94 kB / 0.9842 GB, free: 14.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.004843, allocations: 75.28 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004843, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000151/0.004994, allocations: 16 kB / 0.9843 GB, free: 14.86 MB / 0.948 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.0004228/0.005416, allocations: 0.6671 MB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.005539, allocations: 63.78 kB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.005541, allocations: 0 / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.005579, allocations: 39.91 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.005689, allocations: 8 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.006026, allocations: 174.6 kB / 0.9852 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.00608, allocations: 67.2 kB / 0.9853 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.006135, allocations: 35.94 kB / 0.9853 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.006171, allocations: 24.48 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/0.006172, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02201, allocations: 2.207 MB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.812, allocations: 4.656 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.978394228033721]