Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001004/0.001004, allocations: 87.58 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.001123/0.001123, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9649/0.9649, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.522e-05, allocations: 2.906 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002173/0.002199, allocations: 1.594 MB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.002489, allocations: 140.5 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.002522, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.002565, allocations: 6.266 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.002606, allocations: 4 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.002881, allocations: 31.84 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.002946, allocations: 43.78 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.003022, allocations: 7.938 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.003057, allocations: 15.98 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.003091, allocations: 21.22 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003106, allocations: 4 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.003175, allocations: 19.97 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.003187, allocations: 12.62 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.003211, allocations: 11.97 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.003352, allocations: 41.17 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003355, allocations: 4 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003356, allocations: 0 / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.00336, allocations: 0 / 0.8134 GB, free: 15.79 MB / 0.7761 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.0003326/0.003693, allocations: 374.5 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.003725, allocations: 8.031 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.00376, allocations: 8.875 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.003838, allocations: 120.5 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.003856, allocations: 6.219 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.003865, allocations: 4.375 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.003991, allocations: 66.94 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.003997, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.004005, allocations: 384 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.004012, allocations: 5.109 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.004048, allocations: 11.94 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.004328, allocations: 268.2 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.004496, allocations: 47.77 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.004522, allocations: 16.27 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/0.004609, allocations: 13.31 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.004634, allocations: 49.25 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.004635, allocations: 0 / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001452/0.004781, allocations: 50.17 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.004806, allocations: 51.41 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.004872, allocations: 167.3 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.004883, allocations: 25.7 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.00493, allocations: 142.8 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.004945, allocations: 5.109 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.004974, allocations: 23.38 kB / 0.8148 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.005104, allocations: 496.1 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.005126, allocations: 5.281 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.005139, allocations: 4 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.005177, allocations: 27.86 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005179, allocations: 0.9062 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.662e-05/0.005246, allocations: 53.62 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.005257, allocations: 4 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005261, allocations: 0.7812 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.005271, allocations: 0 / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.005328, allocations: 9.281 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005333, allocations: 3.984 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.005355, allocations: 7.984 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005359, allocations: 0.8438 kB / 0.8154 GB, free: 13.55 MB / 0.7761 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 0.0001968/0.005556, allocations: 161.7 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.005571, allocations: 7.938 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.005663, allocations: 53.36 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005665, allocations: 1.312 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005668, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.005671, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.005764, allocations: 129 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005765, allocations: 1.75 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.005796, allocations: 4 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005798, allocations: 4 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.005805, allocations: 7.922 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005806, allocations: 2.594 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005807, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.695e-05/0.005904, allocations: 199.9 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.00591, allocations: 3.938 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.005922, allocations: 7.938 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.005954, allocations: 7.938 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.005993, allocations: 3.984 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.005997, allocations: 4.5 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.00603, allocations: 131.7 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00603, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001446/0.006174, allocations: 9.344 kB / 0.8161 GB, free: 12.77 MB / 0.7761 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.0001096/0.006284, allocations: 99.25 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.006363, allocations: 28.52 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006365, allocations: 0 / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.00639, allocations: 20.33 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.006556, allocations: 7.312 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.006822, allocations: 136.2 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.006858, allocations: 63.2 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.006877, allocations: 0 / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.006902, allocations: 12.5 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.006903, allocations: 0 / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.002706/0.009608, allocations: 0.845 MB / 0.8173 GB, free: 11.54 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.150559374131262]