Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001003/0.001003, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001063/0.001063, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.101/1.101, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.496/2.496, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.525e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001101/0.001116, allocations: 0.6528 MB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001997/0.001316, allocations: 55.8 kB / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.001332, allocations: 0 / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.001363, allocations: 3.938 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.001369, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.001604, allocations: 27.84 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.001665, allocations: 27.97 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.0017, allocations: 7.984 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.001733, allocations: 12 kB / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.001753, allocations: 11.97 kB / 0.8395 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.001764, allocations: 0 / 0.8395 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.001857, allocations: 23.97 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.001877, allocations: 11.98 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.001895, allocations: 11.94 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.001973, allocations: 35.92 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.001975, allocations: 0 / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.42e-07/0.001975, allocations: 4 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.574e-06/0.001978, allocations: 0 / 0.8395 GB, free: 13.26 MB / 0.8073 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.000187/0.002165, allocations: 232.9 kB / 0.8398 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.002193, allocations: 12.62 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.002219, allocations: 12.92 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.476e-05/0.002274, allocations: 109.7 kB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002284, allocations: 4.375 kB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.002292, allocations: 4.375 kB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.002365, allocations: 50.17 kB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.002372, allocations: 192 / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.002381, allocations: 8.375 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.002385, allocations: 4.375 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.002456, allocations: 67.81 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.016e-05/0.002546, allocations: 83.84 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.002599, allocations: 46.44 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.002617, allocations: 16.86 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.002722, allocations: 19.97 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.002741, allocations: 38.56 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 7.22e-07/0.002742, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001049/0.002847, allocations: 73.88 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.002869, allocations: 55.39 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.001e-05/0.002899, allocations: 97.81 kB / 0.8404 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.002909, allocations: 33.7 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.002927, allocations: 80.14 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.002948, allocations: 23.78 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.002977, allocations: 29.69 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.003043, allocations: 318.8 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.003054, allocations: 8 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.003064, allocations: 8 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.003112, allocations: 39.64 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003114, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.741e-05/0.003171, allocations: 65.55 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.00318, allocations: 8 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.003184, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.003196, allocations: 4 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.003255, allocations: 15.98 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.003259, allocations: 4 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.003273, allocations: 4 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.003278, allocations: 3.984 kB / 0.8411 GB, free: 11.55 MB / 0.8073 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 6.127e-05/0.003339, allocations: 132.6 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.00335, allocations: 7.938 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.003448, allocations: 86.28 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.003457, allocations: 7.984 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.003459, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.003462, allocations: 7.922 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.263e-05/0.003525, allocations: 81.83 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.003526, allocations: 0 / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.003564, allocations: 19.98 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003565, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.00357, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.003572, allocations: 3.984 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.003573, allocations: 7.938 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.694e-05/0.00364, allocations: 93.09 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.003649, allocations: 11.94 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.003656, allocations: 0 / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.003664, allocations: 4 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.003685, allocations: 7.984 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.003688, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.582e-06/0.003695, allocations: 4.859 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003695, allocations: 4 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001053/0.0038, allocations: 15.94 kB / 0.8415 GB, free: 11.01 MB / 0.8073 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 9.331e-05/0.003894, allocations: 96.34 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.003959, allocations: 48.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00396, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.003983, allocations: 32.78 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.833e-05/0.004031, allocations: 8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.004193, allocations: 119.6 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.004222, allocations: 63.34 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.004247, allocations: 11.98 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.00428, allocations: 55.38 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.00428, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.001885/0.006165, allocations: 0.6873 MB / 0.8426 GB, free: 9.836 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.349909497890621]