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.001248/0.001248, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009614/0.0009614, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.942/0.942, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.792/1.792, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.664e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00111/0.001137, allocations: 0.6008 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002311/0.001368, allocations: 56.84 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.001388, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.00143, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.001436, allocations: 1.562 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.001733, allocations: 19.92 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.001808, allocations: 31.95 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.001843, allocations: 4 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.001876, allocations: 16.73 kB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.183e-05/0.001897, allocations: 15.97 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.001918, allocations: 4 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.002003, allocations: 16.88 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.00203, allocations: 11.94 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.002055, allocations: 14.38 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.002151, allocations: 31.95 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002153, allocations: 0 / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002155, allocations: 0 / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002158, allocations: 0 / 0.788 GB, free: 11.63 MB / 0.7448 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.0002652/0.002423, allocations: 372.2 kB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.00246, allocations: 8.031 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.002496, allocations: 11.05 kB / 0.7883 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.658e-05/0.002552, allocations: 116.5 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.002565, allocations: 4.375 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.002581, allocations: 8.359 kB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.002684, allocations: 54.83 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.002694, allocations: 192 / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.002703, allocations: 1.781 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.002712, allocations: 4.375 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.002797, allocations: 87.81 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.002925, allocations: 128.6 kB / 0.7887 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.003001, allocations: 60.73 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.003032, allocations: 28 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.003191, allocations: 23.92 kB / 0.7888 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.00321, allocations: 33.39 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.003211, allocations: 1.125 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001733/0.003384, allocations: 93.62 kB / 0.7889 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.003409, allocations: 59.39 kB / 0.789 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/0.003453, allocations: 152.1 kB / 0.7891 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.003463, allocations: 25.7 kB / 0.7892 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.00349, allocations: 130.8 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.003516, allocations: 23.8 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.003552, allocations: 39.36 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.003663, allocations: 0.4987 MB / 0.7898 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.003685, allocations: 8 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.003705, allocations: 15.98 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.003763, allocations: 40.28 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.003765, allocations: 0 / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.174e-05/0.003857, allocations: 81.61 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.003867, allocations: 8 kB / 0.79 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.003871, allocations: 0.5 kB / 0.79 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.003885, allocations: 4.656 kB / 0.79 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.003962, allocations: 19.98 kB / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.003967, allocations: 0.5312 kB / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.00398, allocations: 7.891 kB / 0.79 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.003986, allocations: 5.656 kB / 0.79 GB, free: 9.316 MB / 0.7448 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 7.417e-05/0.004061, allocations: 167.4 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.00407, allocations: 12.5 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.004206, allocations: 110 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004208, allocations: 4 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.004211, allocations: 0.8125 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004215, allocations: 3.938 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.625e-05/0.004281, allocations: 125.8 kB / 0.7904 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004282, allocations: 3.938 kB / 0.7904 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.004318, allocations: 19.98 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.004319, allocations: 1.375 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.004326, allocations: 4 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.004327, allocations: 4 kB / 0.7905 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004327, allocations: 0 / 0.7905 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.004422, allocations: 125.1 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.004428, allocations: 4 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.004436, allocations: 0.8438 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.004444, allocations: 4 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.004472, allocations: 13.2 kB / 0.7906 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.004476, allocations: 4 kB / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.004504, allocations: 119.2 kB / 0.7907 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004504, allocations: 0 / 0.7907 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001315/0.004635, allocations: 24.77 kB / 0.7907 GB, free: 8.52 MB / 0.7448 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.0001197/0.004755, allocations: 112.4 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.004855, allocations: 55.59 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.004856, allocations: 1.312 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.004887, allocations: 40.16 kB / 0.7909 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.498e-05/0.004982, allocations: 7.984 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.005198, allocations: 144.5 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.005227, allocations: 59.34 kB / 0.7911 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.005274, allocations: 42.7 kB / 0.7912 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.005296, allocations: 12.5 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.005297, allocations: 0 / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.002128/0.007425, allocations: 0.5983 MB / 0.7918 GB, free: 7.418 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027516603004187]