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.001461/0.001461, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001561/0.001561, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9124/0.9124, allocations: 177.1 MB / 204.2 MB, free: 5.117 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.342e-06/1.342e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.394e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001175/0.001199, allocations: 0.5988 MB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.001414, allocations: 51.81 kB / 0.8122 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.001432, allocations: 0.9375 kB / 0.8122 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.001472, allocations: 3.984 kB / 0.8122 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.001479, allocations: 0.7812 kB / 0.8122 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.001777, allocations: 23.84 kB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.001855, allocations: 27.97 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.001889, allocations: 9.672 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.001922, allocations: 12 kB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.001946, allocations: 11.97 kB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.00196, allocations: 0 / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.002047, allocations: 21.52 kB / 0.8123 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.002072, allocations: 15.91 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.002096, allocations: 8 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.002193, allocations: 35.94 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002195, allocations: 0.7188 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002196, allocations: 0 / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.0022, allocations: 0.8125 kB / 0.8124 GB, free: 0.8555 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.0002842/0.002484, allocations: 372.2 kB / 0.8127 GB, free: 464 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.002523, allocations: 13.62 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.002565, allocations: 9.234 kB / 0.8128 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.002626, allocations: 108.6 kB / 0.8129 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.002641, allocations: 8.375 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.00265, allocations: 1.094 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.002766, allocations: 54.23 kB / 0.8129 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.002776, allocations: 4.719 kB / 0.8129 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.002787, allocations: 8.359 kB / 0.8129 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.002796, allocations: 2.031 kB / 0.8129 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.002882, allocations: 91.75 kB / 0.813 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.003012, allocations: 116.6 kB / 0.8131 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.003094, allocations: 67.03 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.003123, allocations: 20.52 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.003285, allocations: 24.5 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.003308, allocations: 41.39 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.003309, allocations: 0.7812 kB / 0.8133 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001889/0.003498, allocations: 97.56 kB / 0.8134 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.003525, allocations: 52.56 kB / 0.8134 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.003574, allocations: 146.2 kB / 0.8136 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.003585, allocations: 29.7 kB / 0.8136 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.003615, allocations: 132.2 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.003645, allocations: 27.78 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.00368, allocations: 35.38 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.003789, allocations: 0.4901 MB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.003809, allocations: 11.94 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.004081, allocations: 12.42 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.004143, allocations: 51.83 kB / 0.8143 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004145, allocations: 0 / 0.8143 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.665e-05/0.004232, allocations: 80.34 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004245, allocations: 4.781 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004249, allocations: 4 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.004263, allocations: 3.984 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.004345, allocations: 16 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004351, allocations: 0 / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.004371, allocations: 11.89 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.004382, allocations: 11.97 kB / 0.8145 GB, free: 14.54 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 8.378e-05/0.004466, allocations: 166.1 kB / 0.8146 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.004475, allocations: 4 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.004619, allocations: 114 kB / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.004622, allocations: 0.5625 kB / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.004626, allocations: 4.547 kB / 0.8147 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.004631, allocations: 7.938 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.004708, allocations: 122 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004709, allocations: 0 / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.004753, allocations: 27.86 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004755, allocations: 0 / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.004762, allocations: 2.594 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.004763, allocations: 0 / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.004765, allocations: 0 / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.004868, allocations: 128.3 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.004873, allocations: 4 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.004883, allocations: 0 / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-06/0.004893, allocations: 7.984 kB / 0.815 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.004926, allocations: 16.45 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.004931, allocations: 4.656 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.004957, allocations: 119.2 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004957, allocations: 1.094 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001383/0.005096, allocations: 19.94 kB / 0.8152 GB, free: 13.74 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.0001353/0.005231, allocations: 116.1 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.005341, allocations: 52.45 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005342, allocations: 0 / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.005375, allocations: 42.36 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.631e-05/0.005471, allocations: 12.16 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.005693, allocations: 142.2 kB / 0.8155 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.005722, allocations: 55.36 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.005768, allocations: 39.64 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.00579, allocations: 20.5 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.005791, allocations: 0 / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002348/0.008139, allocations: 0.6416 MB / 0.8163 GB, free: 12.6 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: 4.8528833305463195]