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.000937/0.000937, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001184/0.001184, allocations: 177 kB / 23.36 MB, free: 1.137 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.34/2.34, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.794e-06/1.794e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.517e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002084/0.002109, allocations: 0.6063 MB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00027/0.002379, allocations: 51.75 kB / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.002399, allocations: 4 kB / 0.8393 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.485e-05/0.002444, allocations: 3.984 kB / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-06/0.002451, allocations: 0 / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.00277, allocations: 23.86 kB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.002864, allocations: 31.97 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.002904, allocations: 3.984 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.002948, allocations: 11.98 kB / 0.8394 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.002979, allocations: 11.98 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.002995, allocations: 4 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.003096, allocations: 19.97 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.003123, allocations: 7.984 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.003151, allocations: 15.92 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003259, allocations: 39.94 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003262, allocations: 0 / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003263, allocations: 3.938 kB / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003266, allocations: 0 / 0.8395 GB, free: 13.36 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.0002777/0.003544, allocations: 236.9 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.003582, allocations: 12.62 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.003614, allocations: 4.938 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.003685, allocations: 113.7 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003697, allocations: 4.375 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.003713, allocations: 8.375 kB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003823, allocations: 54.17 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.00383, allocations: 192 / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.003838, allocations: 384 / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.003846, allocations: 8.359 kB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.003947, allocations: 75.75 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.004061, allocations: 67.88 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.004136, allocations: 46.55 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.004163, allocations: 16.84 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.004311, allocations: 19.98 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.004336, allocations: 34.56 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.004338, allocations: 4 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001658/0.004504, allocations: 77.88 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.004541, allocations: 51.41 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.004589, allocations: 97.8 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.004603, allocations: 29.7 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.004635, allocations: 84.12 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.004677, allocations: 23.8 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.004723, allocations: 29.69 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.004836, allocations: 318.8 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.004863, allocations: 11.98 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.00488, allocations: 4.438 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.005019, allocations: 51.75 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005021, allocations: 3.938 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000102/0.005123, allocations: 57.67 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.005138, allocations: 4 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005143, allocations: 0 / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.005161, allocations: 4 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.005259, allocations: 16 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.005266, allocations: 7.969 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.005289, allocations: 4 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.005297, allocations: 0 / 0.841 GB, free: 11.65 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 9.964e-05/0.005397, allocations: 136.2 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.005411, allocations: 4 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.005567, allocations: 93.53 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00557, allocations: 3.938 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005574, allocations: 4 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005577, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.005671, allocations: 81.77 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005673, allocations: 0 / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.005738, allocations: 19.94 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.005741, allocations: 4 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.005751, allocations: 7.984 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005753, allocations: 0 / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.005754, allocations: 4 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.005859, allocations: 89.03 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.005866, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.00588, allocations: 4 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.005895, allocations: 4 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.005925, allocations: 3.984 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.005932, allocations: 4 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.396e-06/0.005941, allocations: 4.859 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005941, allocations: 4 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002088/0.00615, allocations: 23.92 kB / 0.8414 GB, free: 11.11 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 0.0001815/0.006331, allocations: 88.36 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.006437, allocations: 48.7 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.00644, allocations: 0 / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.006479, allocations: 29.33 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.886e-05/0.006558, allocations: 8.219 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.006827, allocations: 135.5 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.006866, allocations: 55.97 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.006909, allocations: 15.97 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.006959, allocations: 59.38 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.00696, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.003109/0.01007, allocations: 0.6894 MB / 0.8425 GB, free: 9.934 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 -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.265267627779394]