Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001596/0.001596, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001998/0.001998, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.519/1.519, allocations: 230.6 MB / 252.8 MB, free: 9.113 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 3.004/3.004, allocations: 476.7 MB / 0.7672 GB, free: 5.246 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002342/0.002342, allocations: 75.88 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.027, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002824/1.03, allocations: 1.551 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00037/1.03, allocations: 147.5 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/1.03, allocations: 4 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/1.03, allocations: 3.938 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/1.03, allocations: 7.938 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/1.03, allocations: 31.91 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/1.03, allocations: 27.98 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/1.03, allocations: 19.91 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/1.031, allocations: 15.94 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/1.031, allocations: 19.92 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/1.031, allocations: 4 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/1.031, allocations: 19.98 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/1.031, allocations: 15.92 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/1.031, allocations: 15.92 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/1.031, allocations: 45.64 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.031, allocations: 0 / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/1.031, allocations: 0 / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.198e-06/1.031, allocations: 0 / 1.28 GB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005016/1.031, allocations: 351.4 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.031, allocations: 8.031 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/1.031, allocations: 38.73 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/1.031, allocations: 12.89 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/1.032, allocations: 168.3 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.032, allocations: 4.375 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/1.032, allocations: 384 / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/1.032, allocations: 74.14 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.032, allocations: 3.938 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/1.032, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.032, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/1.032, allocations: 47.95 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/1.032, allocations: 276.7 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/1.033, allocations: 62.47 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/1.033, allocations: 24.91 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/1.033, allocations: 405.5 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.033, allocations: 30.56 kB / 1.282 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.033, allocations: 0 / 1.282 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004143/1.034, allocations: 97.75 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.034, allocations: 55.41 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/1.034, allocations: 109.8 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.034, allocations: 25.7 kB / 1.282 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/1.034, allocations: 88.09 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/1.034, allocations: 7.953 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/1.034, allocations: 21.66 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.034, allocations: 318.8 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/1.034, allocations: 19.98 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/1.034, allocations: 27.95 kB / 1.282 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.034, allocations: 44.83 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.034, allocations: 0 / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002387/1.035, allocations: 77.58 kB / 1.282 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.035, allocations: 4 kB / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/1.035, allocations: 0 / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.035, allocations: 0 / 1.282 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/1.035, allocations: 15.98 kB / 1.282 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.035, allocations: 320 / 1.282 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/1.035, allocations: 8 kB / 1.282 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.035, allocations: 7.938 kB / 1.282 GB, free: 8.75 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.58e-05/1.035, allocations: 113.8 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/1.035, allocations: 7.953 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/1.035, allocations: 93.47 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.035, allocations: 4 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.035, allocations: 0 / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.035, allocations: 0 / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/1.036, allocations: 169.7 kB / 1.283 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.036, allocations: 0 / 1.283 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/1.036, allocations: 15.98 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.036, allocations: 4 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.036, allocations: 0 / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.036, allocations: 0 / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.036, allocations: 0 / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/1.036, allocations: 175.4 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/1.036, allocations: 85.06 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/1.036, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/1.036, allocations: 7.984 kB / 1.283 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/1.036, allocations: 4 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.036, allocations: 15.92 kB / 1.283 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.083e-05/1.036, allocations: 83.28 kB / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000254/1.036, allocations: 11.94 kB / 1.283 GB, free: 7.863 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006669/1.037, allocations: 0.7132 MB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002474/1.037, allocations: 47.88 kB / 1.284 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.037, allocations: 0 / 1.284 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.037, allocations: 27.97 kB / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/1.038, allocations: 11.94 kB / 1.284 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/1.039, allocations: 1.286 MB / 1.285 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.04, allocations: 0.6845 MB / 1.286 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.059e-05/1.04, allocations: 4 kB / 1.286 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/1.04, allocations: 15.44 kB / 1.286 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/1.04, allocations: 3.938 kB / 1.286 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/1.065, allocations: 1.711 MB / 1.288 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/9.189, allocations: 3.672 kB / 1.288 GB, free: 3.32 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falFac.y in file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.759470693999901]