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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 251 MB, free: 13.01 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.892/2.892, allocations: 476.7 MB / 0.7646 GB, free: 9.859 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7624, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001706/0.7641, allocations: 0.5898 MB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.7644, allocations: 59.77 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.7645, allocations: 0 / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.7645, allocations: 3.938 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.7645, allocations: 0 / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.7648, allocations: 19.92 kB / 1.275 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.7649, allocations: 35.91 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.7649, allocations: 7.984 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.7649, allocations: 12 kB / 1.275 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.765, allocations: 7.984 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.765, allocations: 4 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.7651, allocations: 23.97 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.7651, allocations: 7.984 kB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.7651, allocations: 23.86 kB / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.7653, allocations: 38.56 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7653, allocations: 0 / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7653, allocations: 0 / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7653, allocations: 4 kB / 1.275 GB, free: 3.332 MB / 0.9669 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.0003661/0.7656, allocations: 258 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.7657, allocations: 15.98 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.7657, allocations: 0.9375 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.7658, allocations: 114.5 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.7658, allocations: 384 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7658, allocations: 8.359 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.766, allocations: 58.23 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.766, allocations: 192 / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.766, allocations: 11.94 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.766, allocations: 4 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.7662, allocations: 99.86 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.7664, allocations: 148.6 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7665, allocations: 74.52 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.7666, allocations: 28.84 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.7668, allocations: 27.97 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.7668, allocations: 38.56 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.7668, allocations: 0 / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002724/0.7671, allocations: 113.5 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.7671, allocations: 51.62 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.7672, allocations: 105.8 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.7672, allocations: 29.64 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.7673, allocations: 80.14 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.7673, allocations: 23.8 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.7673, allocations: 33.7 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7675, allocations: 322.8 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.7675, allocations: 19.98 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.7676, allocations: 19.98 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.7677, allocations: 56.83 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7677, allocations: 0 / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001585/0.7678, allocations: 98.2 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7679, allocations: 4 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7679, allocations: 3.938 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7679, allocations: 0 / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.768, allocations: 23.98 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.768, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.768, allocations: 7.953 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.768, allocations: 0 / 1.277 GB, free: 1.305 MB / 0.9669 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.0001427/0.7682, allocations: 124 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7682, allocations: 7.984 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.7684, allocations: 133.4 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.7684, allocations: 11.94 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7684, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7684, allocations: 3.984 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.7686, allocations: 140.7 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7686, allocations: 0 / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.7687, allocations: 19.98 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7687, allocations: 3.938 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7687, allocations: 4 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7687, allocations: 0 / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7687, allocations: 0 / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.7689, allocations: 125 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.7689, allocations: 7.938 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7689, allocations: 4 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.484e-05/0.7689, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.7689, allocations: 7.984 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7689, allocations: 15.92 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.769, allocations: 75.28 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.769, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002/0.7692, allocations: 16 kB / 1.278 GB, free: 0.5391 MB / 0.9669 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.0001835/0.7694, allocations: 114.4 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.7695, allocations: 63.89 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7695, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.7696, allocations: 31.92 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.7697, allocations: 9.094 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.77, allocations: 152.8 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7705, allocations: 0.6845 MB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.838e-05/0.7705, allocations: 31.95 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.7706, allocations: 23.36 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.7706, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.00323/0.7738, allocations: 0.6429 MB / 1.279 GB, free: 14.74 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.670246129855514]