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.001685/0.001685, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001519/0.001519, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.795/2.795, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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: 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 1.362e-06/1.362e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.413e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00153/0.001554, allocations: 0.5956 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.001811, allocations: 51.73 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.001835, allocations: 0 / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.001865, allocations: 3.984 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.00187, allocations: 3.938 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.002177, allocations: 15.98 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.55e-05/0.002263, allocations: 27.97 kB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.002302, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.002339, allocations: 15.98 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.002377, allocations: 15.97 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002391, allocations: 4 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.00248, allocations: 15.98 kB / 0.9518 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.002517, allocations: 23.91 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.00254, allocations: 4 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.002647, allocations: 35.88 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.002651, allocations: 4 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002652, allocations: 4 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.00266, allocations: 0 / 0.9518 GB, free: 10.69 MB / 0.8575 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.0003653/0.003026, allocations: 266.2 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00306, allocations: 8.031 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.003092, allocations: 8.938 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.003187, allocations: 101.8 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.003212, allocations: 12.31 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.003228, allocations: 4.375 kB / 0.9522 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.003375, allocations: 62.22 kB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.003385, allocations: 192 / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.003394, allocations: 384 / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.003401, allocations: 4.375 kB / 0.9523 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.003556, allocations: 99.75 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.00372, allocations: 121.2 kB / 0.9525 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.003846, allocations: 66.48 kB / 0.9525 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.003901, allocations: 40.78 kB / 0.9526 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.004075, allocations: 23.97 kB / 0.9526 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.004102, allocations: 30.56 kB / 0.9526 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.004104, allocations: 336 / 0.9526 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002806/0.004384, allocations: 113.5 kB / 0.9527 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.004423, allocations: 51.41 kB / 0.9528 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.004483, allocations: 101.8 kB / 0.9529 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.004503, allocations: 25.7 kB / 0.9529 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.004549, allocations: 84.08 kB / 0.953 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.004584, allocations: 19.89 kB / 0.953 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.004632, allocations: 33.72 kB / 0.953 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.004786, allocations: 318.8 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.004829, allocations: 19.98 kB / 0.9534 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.004869, allocations: 23.92 kB / 0.9534 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.004979, allocations: 56.83 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00498, allocations: 0 / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001499/0.00513, allocations: 97.56 kB / 0.9535 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.005146, allocations: 8 kB / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005151, allocations: 0 / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.005165, allocations: 0 / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.005269, allocations: 19.98 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.005275, allocations: 7.938 kB / 0.9536 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.005297, allocations: 7.875 kB / 0.9536 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.005306, allocations: 4 kB / 0.9536 GB, free: 8.711 MB / 0.8575 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.0001496/0.005456, allocations: 125.8 kB / 0.9537 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.005472, allocations: 7.953 kB / 0.9537 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.005697, allocations: 118.4 kB / 0.9538 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005699, allocations: 0 / 0.9538 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005703, allocations: 0 / 0.9538 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.005716, allocations: 3.938 kB / 0.9538 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.005836, allocations: 129.2 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005837, allocations: 0 / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.005908, allocations: 19.98 kB / 0.954 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.005913, allocations: 4 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.005926, allocations: 8 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005927, allocations: 3.938 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005928, allocations: 0 / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.00611, allocations: 129 kB / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.006119, allocations: 7.953 kB / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006131, allocations: 0 / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.006151, allocations: 11.94 kB / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.006189, allocations: 11.92 kB / 0.9541 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.006194, allocations: 4 kB / 0.9541 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.006229, allocations: 75.28 kB / 0.9542 GB, free: 8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.006229, allocations: 0 / 0.9542 GB, free: 8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002009/0.00643, allocations: 16 kB / 0.9542 GB, free: 7.984 MB / 0.8575 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.0001938/0.006624, allocations: 111.2 kB / 0.9543 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.006773, allocations: 63.89 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006774, allocations: 0 / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.006832, allocations: 39.92 kB / 0.9544 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.006985, allocations: 10.02 kB / 0.9544 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.007298, allocations: 152.7 kB / 0.9546 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.007369, allocations: 67.34 kB / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.608e-05/0.007445, allocations: 31.94 kB / 0.9547 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.00748, allocations: 20.48 kB / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.00748, allocations: 0 / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of Templates: time 0.003063/0.01054, allocations: 0.5785 MB / 0.9553 GB, free: 6.867 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.712684337049723]