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.002215/0.002215, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.002618/0.002618, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.722/2.722, allocations: 476.7 MB / 0.7672 GB, free: 5.215 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.002087/0.002087, allocations: 75.89 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8038, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001918/0.8057, allocations: 0.5914 MB / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.806, allocations: 57.62 kB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.8061, allocations: 0 / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.8061, allocations: 0 / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.8061, allocations: 0 / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.8064, allocations: 23.91 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.08e-05/0.8065, allocations: 31.97 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.8065, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.8065, allocations: 12 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.8065, allocations: 15.97 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.8066, allocations: 4 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.8066, allocations: 15.98 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.8067, allocations: 15.97 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.8067, allocations: 19.88 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8068, allocations: 33.72 kB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8068, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8068, allocations: 0 / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8068, allocations: 0 / 1.279 GB, free: 12.6 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.0003457/0.8072, allocations: 335.5 kB / 1.279 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8072, allocations: 15.97 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.8073, allocations: 42.73 kB / 1.279 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.8073, allocations: 4.891 kB / 1.279 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.8074, allocations: 164.3 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8074, allocations: 4.375 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.8074, allocations: 8.375 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.8076, allocations: 62.22 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.8076, allocations: 7.922 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.8076, allocations: 0 / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8076, allocations: 4 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.8078, allocations: 107.8 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.808, allocations: 169.7 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.8081, allocations: 70.48 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.8081, allocations: 28.84 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00037/0.8085, allocations: 409.5 kB / 1.28 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8085, allocations: 30.56 kB / 1.28 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.8085, allocations: 0 / 1.28 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002611/0.8088, allocations: 125.8 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8088, allocations: 51.41 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.8089, allocations: 101.8 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.8089, allocations: 25.7 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.809, allocations: 80.14 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.809, allocations: 23.8 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.809, allocations: 33.7 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8092, allocations: 314.8 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.8092, allocations: 23.98 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.8093, allocations: 20.42 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.8094, allocations: 60.98 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8094, allocations: 3.938 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001569/0.8095, allocations: 97.56 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8095, allocations: 7.938 kB / 1.281 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8096, allocations: 4 kB / 1.281 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8096, allocations: 0 / 1.281 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.8097, allocations: 19.98 kB / 1.281 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.8097, allocations: 0 / 1.281 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.8097, allocations: 8 kB / 1.281 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.8097, allocations: 0 / 1.281 GB, free: 9.859 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.0001393/0.8098, allocations: 125.8 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.8099, allocations: 11.89 kB / 1.282 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.8101, allocations: 125.5 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8101, allocations: 4 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8101, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8101, allocations: 7.984 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.8103, allocations: 169.6 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8103, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.8103, allocations: 23.92 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8103, allocations: 3.938 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8104, allocations: 4 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8104, allocations: 0 / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8104, allocations: 0 / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.8105, allocations: 121 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.8106, allocations: 85.05 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.8106, allocations: 4 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.8106, allocations: 0 / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.8106, allocations: 11.92 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.8106, allocations: 4 kB / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.8107, allocations: 75.28 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8107, allocations: 0 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002094/0.8109, allocations: 19.94 kB / 1.282 GB, free: 8.969 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.0005589/0.8115, allocations: 0.6831 MB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.8116, allocations: 64.22 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8116, allocations: 0 / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.8117, allocations: 35.97 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8118, allocations: 5.875 kB / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.8122, allocations: 190.3 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.8125, allocations: 0.6846 MB / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.145e-05/0.8126, allocations: 39.92 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.8127, allocations: 15.44 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.8127, allocations: 0 / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8372, allocations: 1.582 MB / 1.285 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.136, allocations: 9.25 kB / 1.285 GB, free: 5.684 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.126817477867007]