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.001043/0.001043, allocations: 83.59 kB / 20.45 MB, free: 4.113 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: 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.9537/0.9537, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.732/1.732, allocations: 359 MB / 0.6052 GB, free: 11.01 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.833e-06/1.833e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.021e-05, allocations: 8.781 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001552/0.001582, allocations: 0.6118 MB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.001825, allocations: 53.05 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.001846, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.001889, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-06/0.001896, allocations: 4 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.002203, allocations: 17.55 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.002282, allocations: 31.91 kB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.002321, allocations: 7.984 kB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.002364, allocations: 11.98 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.002387, allocations: 13.2 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.002402, allocations: 7.922 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.002496, allocations: 15.98 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.002521, allocations: 12.61 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.00255, allocations: 11.98 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.002653, allocations: 33.3 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002656, allocations: 4 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002657, allocations: 0 / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.002663, allocations: 3.984 kB / 0.788 GB, free: 11.62 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.000278/0.002941, allocations: 361.1 kB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.002982, allocations: 8.031 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.003024, allocations: 9.797 kB / 0.7883 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.071e-05/0.003085, allocations: 113.2 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003098, allocations: 8.312 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.003108, allocations: 5.281 kB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003218, allocations: 54.23 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003225, allocations: 0.8438 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.003236, allocations: 8.359 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.003244, allocations: 5.094 kB / 0.7885 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.003338, allocations: 87.81 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.003454, allocations: 120 kB / 0.7887 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.003533, allocations: 70.97 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.003565, allocations: 19.69 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.003739, allocations: 19.97 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.003763, allocations: 41.39 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.003764, allocations: 0 / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001916/0.003956, allocations: 93.89 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.003984, allocations: 55.41 kB / 0.789 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.004029, allocations: 142.2 kB / 0.7891 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.00404, allocations: 34.42 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.004071, allocations: 134.8 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.004102, allocations: 33.42 kB / 0.7893 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.004143, allocations: 35.38 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.004258, allocations: 496.1 kB / 0.7898 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.004285, allocations: 12 kB / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.004303, allocations: 13.33 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.004373, allocations: 52.27 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004375, allocations: 0 / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.541e-05/0.00447, allocations: 77.61 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004483, allocations: 5.594 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.004488, allocations: 0 / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.004501, allocations: 7.984 kB / 0.79 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.004577, allocations: 15.94 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.004584, allocations: 9.469 kB / 0.79 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.004602, allocations: 11.89 kB / 0.79 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.004609, allocations: 7.984 kB / 0.79 GB, free: 9.305 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 7.373e-05/0.004682, allocations: 161.7 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.004691, allocations: 4 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.00483, allocations: 117.9 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.004833, allocations: 4.516 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.004836, allocations: 0 / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.004839, allocations: 4.844 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.988e-05/0.004909, allocations: 124.6 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.004911, allocations: 0.7812 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.004951, allocations: 15.98 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.004954, allocations: 4.531 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.00496, allocations: 0 / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.004962, allocations: 1.375 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004963, allocations: 0 / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.005066, allocations: 136.2 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.005069, allocations: 0 / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.00508, allocations: 5.156 kB / 0.7906 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-06/0.005088, allocations: 3.984 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.005121, allocations: 15.92 kB / 0.7906 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.005126, allocations: 4.812 kB / 0.7906 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.005161, allocations: 119.2 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005161, allocations: 0.5625 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001367/0.005298, allocations: 17.34 kB / 0.7908 GB, free: 8.516 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.0001506/0.005448, allocations: 111.2 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.005555, allocations: 52.14 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005557, allocations: 1.281 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.00559, allocations: 44.14 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.711e-05/0.005687, allocations: 11.94 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.005929, allocations: 143.9 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.005963, allocations: 59.36 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.006009, allocations: 38.23 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.006034, allocations: 16.5 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.006035, allocations: 4 kB / 0.7912 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.002351/0.008386, allocations: 0.6498 MB / 0.7918 GB, free: 7.367 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.716951304115355]