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.001842/0.001842, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00232/0.00232, allocations: 220 kB / 22.24 MB, free: 5.109 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.816 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.271/3.271, allocations: 0.4892 GB / 0.7943 GB, free: 35.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.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: 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.002117/0.002117, allocations: 61.53 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 176.1 MB / 1.325 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001744/0.4028, allocations: 0.5963 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.4031, allocations: 56.19 kB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.4031, allocations: 0 / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.4031, allocations: 0 / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.4031, allocations: 0 / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.4034, allocations: 27.92 kB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.4035, allocations: 31.97 kB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.4036, allocations: 4 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.4036, allocations: 15.92 kB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.4036, allocations: 11.98 kB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4036, allocations: 4 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4037, allocations: 19.97 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.4038, allocations: 7.984 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.4038, allocations: 11.94 kB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.4039, allocations: 40.11 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4039, allocations: 0 / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4039, allocations: 4 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4039, allocations: 0 / 1.326 GB, free: 1.434 MB / 1.014 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.0003514/0.4043, allocations: 258.3 kB / 1.326 GB, free: 1.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.4044, allocations: 12.03 kB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.4044, allocations: 38.73 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.4044, allocations: 4.938 kB / 1.326 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.4045, allocations: 102.5 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4046, allocations: 12.31 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4046, allocations: 4.375 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4047, allocations: 66.16 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4047, allocations: 3.938 kB / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4047, allocations: 4 kB / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4048, allocations: 0 / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4049, allocations: 95.88 kB / 1.326 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4051, allocations: 148.6 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4052, allocations: 74.47 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.4053, allocations: 24.84 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.4055, allocations: 19.98 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.4055, allocations: 34.56 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.4055, allocations: 0 / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002603/0.4058, allocations: 117.8 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4058, allocations: 59.41 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.4059, allocations: 97.84 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4059, allocations: 25.7 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.4059, allocations: 84.08 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.406, allocations: 20.05 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.406, allocations: 33.7 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4062, allocations: 314.8 kB / 1.327 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.4062, allocations: 19.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.4063, allocations: 20.42 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4064, allocations: 68.92 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4064, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001534/0.4065, allocations: 93.62 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4065, allocations: 7.75 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4065, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4066, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4067, allocations: 23.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4067, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.4067, allocations: 11.94 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.4067, allocations: 0 / 1.328 GB, free: 15.38 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: 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.000192/0.4069, allocations: 126.3 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.4069, allocations: 15.89 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.4072, allocations: 121.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4072, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4072, allocations: 4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4072, allocations: 3.984 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4074, allocations: 148.6 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4074, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.4074, allocations: 23.94 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4074, allocations: 3.984 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4075, allocations: 4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4075, allocations: 8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4075, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.4076, allocations: 124.9 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.4076, allocations: 11.94 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.4076, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.4077, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4078, allocations: 7.984 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4078, allocations: 4 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.4078, allocations: 75.28 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4078, allocations: 0 / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002217/0.408, allocations: 16 kB / 1.328 GB, free: 14.6 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: 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.0006432/0.4087, allocations: 0.6709 MB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4088, allocations: 60.34 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4088, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.4089, allocations: 31.92 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.409, allocations: 8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4096, allocations: 190.3 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4097, allocations: 67.34 kB / 1.329 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.4098, allocations: 43.92 kB / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.4099, allocations: 19.42 kB / 1.329 GB, free: 13.43 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4099, allocations: 0 / 1.329 GB, free: 13.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.4411, allocations: 2.059 MB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.74, allocations: 6.203 kB / 1.331 GB, free: 11.5 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.911956596188247]