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.0009961/0.0009961, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001161/0.001161, allocations: 162.8 kB / 24.86 MB, free: 8.891 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.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.768/1.768, allocations: 359 MB / 0.6063 GB, free: 10.84 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.503e-06/1.503e-06, allocations: 0 / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.799e-05, allocations: 7.25 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001451/0.001479, allocations: 0.6015 MB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.001696, allocations: 56.81 kB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.001715, allocations: 0 / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.001752, allocations: 0 / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.001758, allocations: 0.6875 kB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.002029, allocations: 15.92 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.352e-05/0.002102, allocations: 32.86 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.002152, allocations: 7.938 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.002191, allocations: 15.98 kB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.696e-05/0.002218, allocations: 9.047 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.002237, allocations: 0 / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.002335, allocations: 28.73 kB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.002358, allocations: 11.94 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.002378, allocations: 7.984 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.002472, allocations: 37.16 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.002475, allocations: 0 / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002476, allocations: 0 / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.00248, allocations: 1.531 kB / 0.7892 GB, free: 11.32 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.000253/0.002733, allocations: 356.3 kB / 0.7895 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.002766, allocations: 12.03 kB / 0.7895 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.002799, allocations: 13.23 kB / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.668e-05/0.002856, allocations: 118 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.002867, allocations: 8.312 kB / 0.7897 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.002876, allocations: 4.375 kB / 0.7897 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.002958, allocations: 58.22 kB / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.002966, allocations: 3.312 kB / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.002974, allocations: 384 / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.002979, allocations: 384 / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.003059, allocations: 79.81 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.003193, allocations: 109.2 kB / 0.7899 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.00328, allocations: 54.98 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.003307, allocations: 23.67 kB / 0.79 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.003457, allocations: 19.98 kB / 0.79 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.003475, allocations: 34.48 kB / 0.79 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.003477, allocations: 336 / 0.79 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001526/0.003629, allocations: 89.56 kB / 0.7901 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.003657, allocations: 59.94 kB / 0.7902 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.003704, allocations: 150.2 kB / 0.7903 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.003716, allocations: 34.42 kB / 0.7903 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.003743, allocations: 127.4 kB / 0.7905 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.00377, allocations: 23.78 kB / 0.7905 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.003808, allocations: 40.95 kB / 0.7905 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.003935, allocations: 0.4883 MB / 0.791 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.003958, allocations: 11.98 kB / 0.791 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.003976, allocations: 12.38 kB / 0.791 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.004028, allocations: 36.45 kB / 0.7911 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00403, allocations: 0 / 0.7911 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.004e-05/0.00411, allocations: 74.52 kB / 0.7911 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004122, allocations: 4 kB / 0.7911 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.004127, allocations: 4.469 kB / 0.7911 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.004136, allocations: 0.625 kB / 0.7911 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.004207, allocations: 19.98 kB / 0.7912 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004209, allocations: 4.594 kB / 0.7912 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.004226, allocations: 15.95 kB / 0.7912 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.004231, allocations: 5.312 kB / 0.7912 GB, free: 9.074 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 8.299e-05/0.004314, allocations: 168.6 kB / 0.7914 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.004334, allocations: 5.656 kB / 0.7914 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.004477, allocations: 113.4 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004479, allocations: 0 / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.004481, allocations: 0 / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.004485, allocations: 2.469 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.004572, allocations: 105.2 kB / 0.7916 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.004573, allocations: 4 kB / 0.7916 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.004615, allocations: 15.98 kB / 0.7916 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.004619, allocations: 4 kB / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.004623, allocations: 0 / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.004624, allocations: 1.812 kB / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.004625, allocations: 0 / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.004725, allocations: 132.2 kB / 0.7917 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.004733, allocations: 7.984 kB / 0.7917 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.004741, allocations: 0 / 0.7917 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.004748, allocations: 0.5312 kB / 0.7917 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.004776, allocations: 11.98 kB / 0.7917 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.004781, allocations: 4.562 kB / 0.7917 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.004812, allocations: 120.8 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.004812, allocations: 0 / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001427/0.004955, allocations: 15.94 kB / 0.7919 GB, free: 8.32 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.0001475/0.005103, allocations: 113.4 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.152e-05/0.005194, allocations: 59.53 kB / 0.792 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005196, allocations: 0 / 0.792 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.005225, allocations: 32.16 kB / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.785e-05/0.005323, allocations: 8.219 kB / 0.7921 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.005535, allocations: 140.5 kB / 0.7922 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.005565, allocations: 66.39 kB / 0.7923 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.005594, allocations: 15.97 kB / 0.7923 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.00564, allocations: 74.98 kB / 0.7924 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.00564, allocations: 0.5625 kB / 0.7924 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.002408/0.008048, allocations: 0.6965 MB / 0.793 GB, free: 7.09 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: 4.881841578986496]