Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6391, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003078/0.6423, allocations: 1.524 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000368/0.6427, allocations: 140.4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.6427, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.6428, allocations: 3.984 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.6428, allocations: 7.938 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.6431, allocations: 31.91 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.6432, allocations: 31.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.6433, allocations: 15.98 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.6433, allocations: 15.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.6434, allocations: 23.92 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.6434, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.6435, allocations: 15.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.6435, allocations: 4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.6435, allocations: 23.84 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.6436, allocations: 43.89 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6436, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.334e-05/0.6437, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6437, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 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.0004543/0.6441, allocations: 355.1 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.6442, allocations: 8.031 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.6442, allocations: 8.844 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.6443, allocations: 176.2 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.6444, allocations: 4.375 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.6444, allocations: 4.312 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.6446, allocations: 66.22 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.6446, allocations: 192 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6446, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6446, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.6448, allocations: 43.95 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.6452, allocations: 284.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.6455, allocations: 62.59 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.6456, allocations: 24.84 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.6459, allocations: 397.5 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.6459, allocations: 30.56 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.6459, allocations: 7.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000387/0.6463, allocations: 105.5 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.6464, allocations: 51.41 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.6465, allocations: 113.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6465, allocations: 25.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.6465, allocations: 88.14 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.6466, allocations: 3.906 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6466, allocations: 17.72 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.6467, allocations: 318.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.269e-05/0.6468, allocations: 23.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.6469, allocations: 23.97 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.6471, allocations: 40.83 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6471, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002206/0.6473, allocations: 77.58 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6473, allocations: 12 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6473, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6474, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.6474, allocations: 15.98 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6475, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.6475, allocations: 7.938 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.6475, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 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 7.234e-05/0.6476, allocations: 115.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.6477, allocations: 7.906 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.6479, allocations: 89.48 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.648, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.648, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.648, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.6482, allocations: 173.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6482, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.6483, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6483, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.6483, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6483, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6483, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.6486, allocations: 179.3 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.6486, allocations: 81.02 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.6486, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.6487, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.6488, allocations: 12.41 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.6488, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.6488, allocations: 87.28 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6489, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002331/0.6491, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 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.000142/0.6492, allocations: 107.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.6495, allocations: 51.94 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6495, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.6496, allocations: 27.92 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6499, allocations: 13.8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.6502, allocations: 113.6 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.6505, allocations: 0.6807 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.6505, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.6505, allocations: 11.44 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6505, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.002916/0.6535, allocations: 0.7662 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches