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.001667/0.001667, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001919/0.001919, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002081/0.002081, allocations: 75.89 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001829/1.005, allocations: 0.6017 MB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002648/1.005, allocations: 60.86 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/1.005, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/1.005, allocations: 0.7188 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-06/1.005, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/1.006, allocations: 18 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/1.006, allocations: 38.09 kB / 1.273 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/1.006, allocations: 1.953 kB / 1.273 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/1.006, allocations: 7.281 kB / 1.273 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/1.006, allocations: 16.66 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/1.006, allocations: 4.969 kB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/1.006, allocations: 25.36 kB / 1.273 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/1.006, allocations: 10.91 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/1.006, allocations: 13.42 kB / 1.273 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/1.006, allocations: 35.39 kB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.006, allocations: 0 / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.006, allocations: 0 / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.006, allocations: 0.9375 kB / 1.273 GB, free: 7.43 MB / 0.9981 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.0003344/1.007, allocations: 337.2 kB / 1.273 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.007, allocations: 10.2 kB / 1.273 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/1.007, allocations: 7.266 kB / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/1.007, allocations: 170.2 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.007, allocations: 2.938 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.007, allocations: 7.688 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.007, allocations: 64.98 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.007, allocations: 192 / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.007, allocations: 5.297 kB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.007, allocations: 1.625 kB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/1.007, allocations: 100.8 kB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/1.007, allocations: 176.7 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/1.007, allocations: 75.8 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/1.008, allocations: 32.64 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/1.008, allocations: 396.4 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.008, allocations: 40.27 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/1.008, allocations: 0 / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003161/1.008, allocations: 110.8 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.008, allocations: 54.52 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.464e-05/1.008, allocations: 107.6 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/1.008, allocations: 30.45 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/1.008, allocations: 80.14 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/1.008, allocations: 25.62 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/1.008, allocations: 31.27 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/1.008, allocations: 315.3 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/1.008, allocations: 21.17 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/1.008, allocations: 18.55 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/1.009, allocations: 63.22 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.009, allocations: 0 / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/1.009, allocations: 95.05 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.009, allocations: 5.438 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.009, allocations: 7.875 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.009, allocations: 4.875 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/1.009, allocations: 23.55 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.009, allocations: 1.125 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/1.009, allocations: 5.047 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.009, allocations: 2.781 kB / 1.275 GB, free: 5.219 MB / 0.9981 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.0001967/1.009, allocations: 125.6 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/1.009, allocations: 2.828 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/1.01, allocations: 130.6 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.01, allocations: 6.109 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.01, allocations: 1.125 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.01, allocations: 0 / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/1.01, allocations: 175 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.01, allocations: 0 / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/1.01, allocations: 26.94 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.01, allocations: 4.719 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.01, allocations: 0.8125 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.01, allocations: 1.062 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.01, allocations: 0.7812 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/1.01, allocations: 130.7 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/1.01, allocations: 83.02 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/1.01, allocations: 5.062 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.565e-05/1.01, allocations: 5.094 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/1.01, allocations: 8.219 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.01, allocations: 7.031 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.592e-05/1.01, allocations: 75.28 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.01, allocations: 0 / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002517/1.01, allocations: 15.41 kB / 1.276 GB, free: 4.523 MB / 0.9981 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.0002296/1.011, allocations: 118.2 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002113/1.011, allocations: 60.27 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.011, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/1.011, allocations: 34.08 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/1.011, allocations: 7.594 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/1.011, allocations: 158.1 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/1.012, allocations: 0.6812 MB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.55e-05/1.012, allocations: 39.14 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/1.012, allocations: 21.84 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.012, allocations: 0 / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.004197/1.016, allocations: 0.6187 MB / 1.278 GB, free: 3.465 MB / 0.9981 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.960200634784997]