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.001328/0.001328, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001427/0.001427, allocations: 161 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.9046/0.9046, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.715/1.715, allocations: 359 MB / 0.6052 GB, free: 10.99 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.433e-06/1.433e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.346e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002036/0.00206, allocations: 1.592 MB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002845/0.002344, allocations: 133.4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.002373, allocations: 0 / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.002401, allocations: 3.938 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.002442, allocations: 7.922 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.002714, allocations: 29.53 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.002785, allocations: 39.86 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.002864, allocations: 15.97 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.002901, allocations: 19.98 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.002935, allocations: 9.203 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002951, allocations: 4 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.127e-05/0.003022, allocations: 23.97 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.003036, allocations: 16.48 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.003055, allocations: 8 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003166, allocations: 49.22 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003168, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003169, allocations: 0 / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003173, allocations: 0 / 0.789 GB, free: 10.52 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.0003426/0.003516, allocations: 369.3 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.003549, allocations: 8.938 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.003589, allocations: 8.938 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.003669, allocations: 117.2 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.003688, allocations: 384 / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.003698, allocations: 5.062 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.003824, allocations: 70.86 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.003831, allocations: 3.594 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.003839, allocations: 384 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.003847, allocations: 4.375 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.003883, allocations: 19.92 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.004202, allocations: 267.8 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.004378, allocations: 46.98 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.004402, allocations: 11.75 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.004511, allocations: 20.7 kB / 0.7899 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004534, allocations: 37.33 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.004536, allocations: 1.656 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.004704, allocations: 61.7 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.004732, allocations: 51.41 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.0048, allocations: 166 kB / 0.7902 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.00481, allocations: 27.05 kB / 0.7902 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.004855, allocations: 134.8 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.004877, allocations: 7.953 kB / 0.7904 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.004906, allocations: 23.36 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005011, allocations: 0.49 MB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.005029, allocations: 0 / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.005044, allocations: 12.05 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.005083, allocations: 19.69 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005085, allocations: 1.375 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.768e-05/0.005153, allocations: 49.56 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005165, allocations: 8 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.00517, allocations: 1.219 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005181, allocations: 0 / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.005227, allocations: 7.984 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.005233, allocations: 4.516 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.005252, allocations: 8.531 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005257, allocations: 0 / 0.791 GB, free: 8.289 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.203e-05/0.005319, allocations: 157.5 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.005334, allocations: 3.938 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.005429, allocations: 58.17 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005431, allocations: 4.469 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005434, allocations: 0 / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005437, allocations: 5.375 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.005529, allocations: 120.6 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00553, allocations: 0 / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.005559, allocations: 13.14 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.00556, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.005568, allocations: 3.938 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005568, allocations: 0.75 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005569, allocations: 3.938 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.005665, allocations: 192.6 kB / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.00567, allocations: 3.938 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.005682, allocations: 13.23 kB / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.005714, allocations: 0 / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.00576, allocations: 11.98 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.005763, allocations: 0.625 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.005799, allocations: 131.1 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005799, allocations: 0.8125 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000148/0.005947, allocations: 8 kB / 0.7917 GB, free: 7.504 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.0001159/0.006063, allocations: 108.5 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.471e-05/0.006148, allocations: 24.89 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006149, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.006171, allocations: 15.67 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.006338, allocations: 8.969 kB / 0.7918 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.00658, allocations: 140.4 kB / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.00661, allocations: 55.36 kB / 0.792 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.006629, allocations: 4 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.006654, allocations: 12.5 kB / 0.792 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.006655, allocations: 3.375 kB / 0.792 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.002439/0.009094, allocations: 0.843 MB / 0.7929 GB, free: 6.266 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.709565173834562]