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.001206/0.001206, 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.0008846/0.0008846, 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.8924/0.8924, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.514e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001004/0.001019, allocations: 0.5878 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002019/0.001221, allocations: 51.8 kB / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.001237, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.001262, allocations: 4 kB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.001269, allocations: 3.938 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.001534, allocations: 23.91 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.001608, allocations: 27.97 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.001645, allocations: 3.984 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.001676, allocations: 15.98 kB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.117e-05/0.001697, allocations: 7.984 kB / 0.9513 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.001711, allocations: 7.938 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.001788, allocations: 19.97 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.001811, allocations: 11.98 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.001832, allocations: 4 kB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.001925, allocations: 43.88 kB / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001927, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.001928, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.001931, allocations: 0 / 0.9513 GB, free: 2.633 MB / 0.9011 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.0002442/0.002176, allocations: 270.2 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.002211, allocations: 11.97 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.002239, allocations: 38.73 kB / 0.9516 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.002262, allocations: 4.938 kB / 0.9517 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.132e-05/0.002313, allocations: 105.7 kB / 0.9518 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.002323, allocations: 4.375 kB / 0.9518 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.002334, allocations: 12.38 kB / 0.9518 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.002442, allocations: 58.23 kB / 0.9518 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.00245, allocations: 192 / 0.9518 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.002458, allocations: 384 / 0.9518 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.002466, allocations: 12.11 kB / 0.9518 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.002572, allocations: 95.81 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.002697, allocations: 148.6 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.002781, allocations: 62.55 kB / 0.9521 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.002815, allocations: 28.84 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.002984, allocations: 23.97 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.003005, allocations: 34.56 kB / 0.9522 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.003006, allocations: 4 kB / 0.9522 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0001896/0.003196, allocations: 109.9 kB / 0.9523 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.003222, allocations: 59.28 kB / 0.9524 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.996e-05/0.003252, allocations: 97.81 kB / 0.9525 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.003262, allocations: 25.7 kB / 0.9525 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.00328, allocations: 84.14 kB / 0.9526 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.003303, allocations: 27.78 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.003334, allocations: 29.7 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.003405, allocations: 318.8 kB / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.003432, allocations: 19.98 kB / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.003454, allocations: 23.98 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.003529, allocations: 57.48 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.003531, allocations: 0 / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.972e-05/0.00362, allocations: 101.5 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.003633, allocations: 6.812 kB / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.003637, allocations: 0 / 0.9531 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.003649, allocations: 3.984 kB / 0.9531 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.00372, allocations: 23.92 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.003726, allocations: 4 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.003739, allocations: 7.953 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.003744, allocations: 0 / 0.9532 GB, free: 0.5625 MB / 0.9011 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 8.511e-05/0.003829, allocations: 129.8 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.003836, allocations: 7.938 kB / 0.9533 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.003979, allocations: 129.4 kB / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.003984, allocations: 7.938 kB / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.003988, allocations: 0 / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00399, allocations: 0 / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.362e-05/0.004064, allocations: 140.7 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.004066, allocations: 3.984 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.004101, allocations: 16 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004103, allocations: 4 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.00411, allocations: 4 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.004113, allocations: 11.86 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.004114, allocations: 0 / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.004216, allocations: 113.1 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.004221, allocations: 7.891 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.004234, allocations: 11.92 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.004242, allocations: 7.938 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.00427, allocations: 7.984 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.004273, allocations: 0 / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.004289, allocations: 75.28 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004289, allocations: 4 kB / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001363/0.004426, allocations: 16 kB / 0.9538 GB, free: 15.8 MB / 0.9167 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.000383/0.004809, allocations: 0.6614 MB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.004915, allocations: 67.77 kB / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004916, allocations: 0 / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.00495, allocations: 31.98 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.005053, allocations: 6.062 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.005334, allocations: 183.3 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.005376, allocations: 75.19 kB / 0.9548 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.304e-05/0.005429, allocations: 35.92 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.00546, allocations: 20.5 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.00546, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.0192, allocations: 2.207 MB / 0.957 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.88, allocations: 2.438 kB / 0.957 GB, free: 12.57 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.861419626511633]