Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001291/0.001291, allocations: 87.58 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.0009743/0.0009743, allocations: 161 kB / 23.82 MB, free: 0.7539 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.985/0.985, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.8 MB / 0.6236 GB, free: 8.594 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.27e-05, allocations: 5.484 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001131/0.001154, allocations: 0.6034 MB / 0.8122 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.00138, allocations: 51.8 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.0014, allocations: 0 / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.001443, allocations: 3.938 kB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.001449, allocations: 0 / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.001742, allocations: 23.91 kB / 0.8123 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.001818, allocations: 31.95 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.001856, allocations: 5.375 kB / 0.8123 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.001894, allocations: 11.98 kB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.001927, allocations: 11.98 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.001945, allocations: 1.469 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.00204, allocations: 27.91 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.002066, allocations: 7.984 kB / 0.8124 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.002091, allocations: 4 kB / 0.8124 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002195, allocations: 53.45 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002197, allocations: 0 / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002197, allocations: 0 / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.002201, allocations: 0 / 0.8124 GB, free: 0.8906 MB / 0.7605 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.000269/0.00247, allocations: 356.3 kB / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.002511, allocations: 12.97 kB / 0.8128 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.002552, allocations: 13.23 kB / 0.8128 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.002611, allocations: 117.1 kB / 0.8129 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.002625, allocations: 4.375 kB / 0.8129 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.00264, allocations: 8.906 kB / 0.8129 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.002752, allocations: 55.3 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.002763, allocations: 192 / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.002773, allocations: 384 / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.002783, allocations: 4.938 kB / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.002876, allocations: 83.81 kB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.002997, allocations: 129.1 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.003085, allocations: 64.36 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.003118, allocations: 27.61 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.003284, allocations: 19.98 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.003305, allocations: 37.39 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.003306, allocations: 1.156 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001777/0.003484, allocations: 93.95 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.003507, allocations: 52.34 kB / 0.8134 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.003554, allocations: 158.2 kB / 0.8136 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.003564, allocations: 25.7 kB / 0.8136 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.003591, allocations: 131.7 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.003618, allocations: 23.8 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.003653, allocations: 40.39 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.003844, allocations: 0.4884 MB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.003869, allocations: 11.92 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.003891, allocations: 20.83 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.003951, allocations: 36.34 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003953, allocations: 0.8438 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.992e-05/0.004043, allocations: 85.55 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.004057, allocations: 8 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.004062, allocations: 1.281 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.004078, allocations: 0 / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.004161, allocations: 23.92 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.004167, allocations: 0.8438 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.004183, allocations: 7.891 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.004191, allocations: 9 kB / 0.8145 GB, free: 14.58 MB / 0.7761 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.421e-05/0.004265, allocations: 162 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.004274, allocations: 4 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.004426, allocations: 121.4 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004428, allocations: 0 / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.004431, allocations: 5.312 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.004436, allocations: 3.938 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.004509, allocations: 124.6 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00451, allocations: 3.031 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.004552, allocations: 20 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.004554, allocations: 0 / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.004564, allocations: 7.984 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.004566, allocations: 0 / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.004566, allocations: 4 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.004672, allocations: 124.2 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.004679, allocations: 4 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.004689, allocations: 4.5 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.004696, allocations: 0 / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.004729, allocations: 17.8 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.004739, allocations: 4 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.004767, allocations: 119.2 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004767, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001358/0.004902, allocations: 19.94 kB / 0.8152 GB, free: 13.79 MB / 0.7761 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.0001172/0.00502, allocations: 114.5 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.005119, allocations: 51.59 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00512, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.005151, allocations: 35.67 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.6e-05/0.005247, allocations: 8 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.005467, allocations: 149.8 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.005498, allocations: 59.34 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.005544, allocations: 39.86 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.005568, allocations: 16.5 kB / 0.8156 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.005569, allocations: 0 / 0.8156 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.002071/0.00764, allocations: 0.5814 MB / 0.8162 GB, free: 12.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.0554423267021775]