Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_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.001618/0.001618, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 187 kB / 17.34 MB, free: 5.719 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9458/0.9471, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002943/0.95, allocations: 1.517 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003615/0.9504, allocations: 145 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.9505, allocations: 1 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.9505, allocations: 5.156 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.9506, allocations: 5 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.9509, allocations: 32.02 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.951, allocations: 39.36 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.9511, allocations: 16.42 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.9512, allocations: 12.14 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.9512, allocations: 25.72 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.9512, allocations: 3.031 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.9513, allocations: 22.62 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.9513, allocations: 6.75 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.9514, allocations: 13.8 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.9515, allocations: 53.14 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9515, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9515, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9516, allocations: 1.062 kB / 1.09 GB, free: 4.25 MB / 0.8575 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.0004291/0.952, allocations: 361.2 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.952, allocations: 9.875 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.9521, allocations: 3.078 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.9522, allocations: 167.6 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.9522, allocations: 1.438 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.9522, allocations: 6.656 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.9524, allocations: 62.59 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.9524, allocations: 4.188 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.9525, allocations: 9.688 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.9525, allocations: 1.094 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.9527, allocations: 43.83 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.9531, allocations: 282.9 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.9534, allocations: 56.88 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.9535, allocations: 30.42 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.9537, allocations: 401.2 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.9537, allocations: 32.48 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9538, allocations: 0 / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000394/0.9542, allocations: 97.66 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.9542, allocations: 51.97 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.9543, allocations: 110.6 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-06/0.9543, allocations: 26.83 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.9543, allocations: 86.44 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.9543, allocations: 6.484 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.9544, allocations: 17.86 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.9544, allocations: 326.8 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.9545, allocations: 27.22 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.9546, allocations: 21.09 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.9548, allocations: 46.36 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9548, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002144/0.955, allocations: 74.59 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9551, allocations: 9.219 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9551, allocations: 0 / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9551, allocations: 1.859 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.9552, allocations: 10.5 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9552, allocations: 3.938 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.9553, allocations: 14.48 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.9553, allocations: 1.766 kB / 1.093 GB, free: 2.004 MB / 0.8575 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.222e-05/0.9553, allocations: 117.6 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.9554, allocations: 5.094 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.9557, allocations: 81.11 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9557, allocations: 0.7188 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9557, allocations: 0.875 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9557, allocations: 0.7031 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9558, allocations: 173.1 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9559, allocations: 1.188 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.9559, allocations: 10.89 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.9559, allocations: 5.125 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.956, allocations: 0.7031 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.956, allocations: 4.75 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.956, allocations: 0.7188 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.9562, allocations: 178.3 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.9563, allocations: 78.55 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9563, allocations: 5.094 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.9564, allocations: 6.547 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.9564, allocations: 5.297 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.9564, allocations: 5.531 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.9565, allocations: 83.55 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9565, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000237/0.9567, allocations: 13.56 kB / 1.093 GB, free: 1.293 MB / 0.8575 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.0001422/0.9569, allocations: 100.5 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.9571, allocations: 54.55 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9572, allocations: 0 / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.9573, allocations: 24.59 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.9576, allocations: 18.59 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.9579, allocations: 146.3 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.9581, allocations: 0.6836 MB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.9581, allocations: 14.61 kB / 1.095 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9581, allocations: 0 / 1.095 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.002603/0.9607, allocations: 0.8042 MB / 1.095 GB, free: 16.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches