Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001109/0.001109, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.000935/0.000935, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.779e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001885/0.001903, allocations: 1.589 MB / 0.7887 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.002186, allocations: 140.1 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.002224, allocations: 0 / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.002249, allocations: 0.7812 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.002292, allocations: 3.938 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.002595, allocations: 45.27 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.002663, allocations: 31.92 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.002752, allocations: 11.98 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.00279, allocations: 19.97 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.002827, allocations: 19.2 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002843, allocations: 4 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.002915, allocations: 23.97 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.002927, allocations: 7.984 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.002946, allocations: 8 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.00307, allocations: 47.81 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003072, allocations: 0 / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003072, allocations: 0 / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003076, allocations: 0 / 0.789 GB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003612/0.003437, allocations: 369.5 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.003476, allocations: 8.031 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.003515, allocations: 5.531 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.003606, allocations: 125.8 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.003627, allocations: 4.375 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003636, allocations: 384 / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.003772, allocations: 62.94 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003779, allocations: 5.438 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.003791, allocations: 4.375 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.003798, allocations: 384 / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.003841, allocations: 21.42 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.00415, allocations: 275.7 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.004316, allocations: 39.05 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.00434, allocations: 17.28 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.004445, allocations: 15.98 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004465, allocations: 37.33 kB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.004466, allocations: 0 / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.004623, allocations: 63.2 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.004651, allocations: 51.41 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.004722, allocations: 161.9 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004733, allocations: 34.27 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.004777, allocations: 130.8 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.004791, allocations: 5.984 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.004822, allocations: 27.36 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.00492, allocations: 496.1 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.004936, allocations: 8 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.004949, allocations: 3.984 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.004983, allocations: 20.16 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004985, allocations: 0.7188 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.371e-05/0.005049, allocations: 49.62 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.00506, allocations: 9.469 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005065, allocations: 0 / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005078, allocations: 0 / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.005122, allocations: 7.984 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.005128, allocations: 8.609 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.005147, allocations: 1 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005153, allocations: 4 kB / 0.791 GB, free: 8.617 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.146e-05/0.005214, allocations: 161.3 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.00523, allocations: 7.938 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/0.00532, allocations: 53.92 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005323, allocations: 4.5 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.005326, allocations: 0 / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.005329, allocations: 1.031 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.693e-05/0.005426, allocations: 120.8 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.005429, allocations: 4 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.005456, allocations: 12.89 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005457, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.005465, allocations: 4.781 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005466, allocations: 0 / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005468, allocations: 6.156 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.005562, allocations: 195.9 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.005568, allocations: 7.938 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.005579, allocations: 7.922 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.005611, allocations: 0 / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.005657, allocations: 11.98 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.005661, allocations: 2.625 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.005695, allocations: 123.2 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005695, allocations: 0 / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001463/0.005842, allocations: 8 kB / 0.7917 GB, free: 7.832 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001151/0.005957, allocations: 103.5 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.006042, allocations: 33.31 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006044, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.006068, allocations: 19.62 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.006237, allocations: 8 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.006493, allocations: 131.2 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.006524, allocations: 55.36 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.006544, allocations: 5.625 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.006571, allocations: 12.5 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.006571, allocations: 0.7812 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of Templates: time 0.002383/0.008955, allocations: 0.7903 MB / 0.7928 GB, free: 6.645 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.995733710005879]