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.001799/0.001799, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002559/0.002559, allocations: 217 kB / 22.25 MB, free: 5.082 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8 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.823/2.823, allocations: 476.8 MB / 0.7707 GB, free: 4.242 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.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.002109/0.002109, allocations: 65.67 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 169.9 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001865/0.3249, allocations: 0.5977 MB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.3252, allocations: 51.78 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.3252, allocations: 0 / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.3253, allocations: 3.938 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-06/0.3253, allocations: 0 / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3256, allocations: 19.97 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.3257, allocations: 35.97 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.3257, allocations: 0 / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.3258, allocations: 15.98 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.3258, allocations: 7.984 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3258, allocations: 4 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.3259, allocations: 23.98 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.3259, allocations: 15.91 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.326, allocations: 11.94 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3261, allocations: 43.28 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3261, allocations: 4 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3261, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3261, allocations: 4 kB / 1.284 GB, free: 10.88 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.0003645/0.3265, allocations: 259 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3265, allocations: 8.031 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.3266, allocations: 38.75 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.3266, allocations: 4.891 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.3267, allocations: 106.5 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3267, allocations: 4.375 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3267, allocations: 4.375 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3269, allocations: 66.16 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3269, allocations: 15.88 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3269, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3269, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3271, allocations: 107.9 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.3273, allocations: 136.7 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3274, allocations: 66.67 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3275, allocations: 36.84 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.3277, allocations: 19.97 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.3277, allocations: 46.48 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3277, allocations: 0 / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002707/0.328, allocations: 121.8 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.328, allocations: 55.41 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.3281, allocations: 93.86 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3281, allocations: 25.7 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.3281, allocations: 80.14 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3282, allocations: 27.78 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.3282, allocations: 33.72 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3284, allocations: 314.8 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.3284, allocations: 19.98 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.3284, allocations: 19.98 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3286, allocations: 68.7 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3286, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001478/0.3287, allocations: 89.62 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3287, allocations: 10.28 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3287, allocations: 8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3287, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3288, allocations: 23.98 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3288, allocations: 3.938 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.3289, allocations: 3.938 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3289, allocations: 4 kB / 1.286 GB, free: 8.801 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.000175/0.3291, allocations: 125.8 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.3291, allocations: 7.891 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3293, allocations: 129.5 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3293, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3293, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3293, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3294, allocations: 148.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3294, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.3295, allocations: 23.92 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3295, allocations: 7.938 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3295, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3295, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3295, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3297, allocations: 125.9 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.3297, allocations: 11.83 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.3297, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.3297, allocations: 8 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3298, allocations: 7.984 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3298, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.3298, allocations: 79.22 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001965/0.33, allocations: 16 kB / 1.287 GB, free: 8.043 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.0005759/0.3306, allocations: 0.6671 MB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3308, allocations: 59.91 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3308, allocations: 4 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/0.3308, allocations: 31.92 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.331, allocations: 7.984 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.3314, allocations: 174.5 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3317, allocations: 0.6845 MB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.3318, allocations: 35.94 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3319, allocations: 35.36 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3319, allocations: 0 / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3593, allocations: 1.713 MB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.5, allocations: 16.62 kB / 1.29 GB, free: 4.668 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.270027344999107]