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.0016/0.0016, allocations: 113 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.002063/0.002063, allocations: 211.8 kB / 22.25 MB, free: 5.086 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 8.02 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.242/3.242, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002945/0.002945, allocations: 66.48 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.37, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001688/0.3717, allocations: 0.5923 MB / 1.327 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.3719, allocations: 60.17 kB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.372, allocations: 0 / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.372, allocations: 3.938 kB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.372, allocations: 0 / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3723, allocations: 19.98 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.3723, allocations: 23.98 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3724, allocations: 11.98 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.3724, allocations: 19.97 kB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.738e-05/0.3724, allocations: 8 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3724, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.3725, allocations: 31.89 kB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3726, allocations: 11.94 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.3726, allocations: 7.938 kB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.3727, allocations: 44.03 kB / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3727, allocations: 0 / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3727, allocations: 0 / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3727, allocations: 4 kB / 1.327 GB, free: 1.09 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.0003157/0.373, allocations: 262.3 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3731, allocations: 8.031 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.3731, allocations: 34.75 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.3731, allocations: 8.891 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.3732, allocations: 110.5 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3732, allocations: 384 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3732, allocations: 4.375 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3734, allocations: 58.23 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3734, allocations: 11.88 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3734, allocations: 11.94 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3734, allocations: 0 / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3736, allocations: 103.9 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3737, allocations: 148.7 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3738, allocations: 62.55 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.3739, allocations: 28.84 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.3741, allocations: 19.98 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.3741, allocations: 38.5 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3741, allocations: 0 / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002711/0.3744, allocations: 121.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3744, allocations: 51.41 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.3745, allocations: 101.8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3745, allocations: 25.7 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.3745, allocations: 80.14 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3745, allocations: 19.86 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.3746, allocations: 37.7 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3747, allocations: 314.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.3748, allocations: 19.98 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.3748, allocations: 19.98 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3749, allocations: 60.77 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3749, allocations: 3.938 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001441/0.3751, allocations: 93.62 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3751, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3751, allocations: 3.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3751, allocations: 8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3752, allocations: 15.98 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3752, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3752, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3752, allocations: 7.984 kB / 1.329 GB, free: 15.02 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.0001538/0.3754, allocations: 122.3 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.3754, allocations: 7.891 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3757, allocations: 125.5 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3757, allocations: 7.984 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3757, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3757, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3758, allocations: 148.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3758, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/0.3759, allocations: 31.86 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3759, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3759, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3759, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.3759, allocations: 3.984 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.3761, allocations: 125.8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.3761, allocations: 7.953 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3761, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.3761, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3762, allocations: 7.969 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3762, allocations: 8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.3762, allocations: 79.22 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3762, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002/0.3764, allocations: 12 kB / 1.329 GB, free: 14.24 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.0005476/0.377, allocations: 0.6632 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3771, allocations: 63.89 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3771, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.3772, allocations: 31.92 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3773, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.3777, allocations: 194.4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3781, allocations: 0.6807 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.002e-05/0.3782, allocations: 35.94 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.3782, allocations: 23.42 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3782, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4055, allocations: 1.708 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.1, allocations: 4.672 kB / 1.333 GB, free: 10.88 MB / 1.029 GB " [Timeout remaining time 289] (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.227271235002263]