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.007848/0.007848, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001706/0.001706, allocations: 191.3 kB / 16.67 MB, free: 5.934 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.401/2.401, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003057/1.104, allocations: 1.526 MB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004629/1.105, allocations: 138.9 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/1.105, allocations: 1.094 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/1.105, allocations: 4.453 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/1.105, allocations: 5.594 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/1.105, allocations: 31.47 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/1.105, allocations: 39.81 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/1.106, allocations: 20.31 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/1.106, allocations: 11.86 kB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/1.106, allocations: 21.42 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/1.106, allocations: 3.469 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/1.106, allocations: 18.17 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/1.106, allocations: 10.62 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/1.106, allocations: 18.16 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.106, allocations: 44.2 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.106, allocations: 5 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/1.106, allocations: 4.703 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.106, allocations: 0 / 1.09 GB, free: 4.52 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.0005146/1.107, allocations: 348.8 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.107, allocations: 10.92 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/1.107, allocations: 2.906 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/1.107, allocations: 175.6 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/1.107, allocations: 1.562 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/1.107, allocations: 2.312 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/1.107, allocations: 74.59 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.107, allocations: 1.312 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.107, allocations: 3.938 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.107, allocations: 1.094 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/1.107, allocations: 43.7 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/1.108, allocations: 273.2 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.108, allocations: 65.83 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/1.108, allocations: 25.98 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/1.109, allocations: 396.6 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.109, allocations: 32.36 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/1.109, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004812/1.109, allocations: 102 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.109, allocations: 56.41 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/1.109, allocations: 107.3 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.109, allocations: 29.7 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/1.109, allocations: 83.7 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.109, allocations: 5 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/1.109, allocations: 22.36 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/1.109, allocations: 323.1 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/1.11, allocations: 15.08 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/1.11, allocations: 25.19 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/1.11, allocations: 45.56 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.11, allocations: 1.125 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002472/1.11, allocations: 82.19 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.11, allocations: 4.812 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.11, allocations: 1.094 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.11, allocations: 0 / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/1.11, allocations: 15.58 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.11, allocations: 1.125 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/1.11, allocations: 18 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/1.11, allocations: 2.109 kB / 1.092 GB, free: 2.277 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.679e-05/1.11, allocations: 115.9 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/1.11, allocations: 2.875 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/1.111, allocations: 83.81 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.111, allocations: 0.5625 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.111, allocations: 5.031 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.111, allocations: 4.562 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/1.111, allocations: 169.6 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.111, allocations: 4.562 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/1.111, allocations: 11.19 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.111, allocations: 1.484 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.111, allocations: 0.9062 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.111, allocations: 0 / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.111, allocations: 1.844 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/1.111, allocations: 176.7 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/1.111, allocations: 79.34 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.111, allocations: 1.547 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/1.112, allocations: 5.25 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.112, allocations: 10.12 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/1.112, allocations: 1.359 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.927e-05/1.112, allocations: 91.88 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.112, allocations: 3.938 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002203/1.112, allocations: 8.672 kB / 1.093 GB, free: 1.562 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.0001735/1.112, allocations: 105.5 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002537/1.112, allocations: 45.89 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.112, allocations: 4.625 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/1.112, allocations: 24.98 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.113, allocations: 7.547 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/1.113, allocations: 131 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/1.113, allocations: 0.6792 MB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.06e-05/1.113, allocations: 5.156 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/1.113, allocations: 10.45 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.113, allocations: 0.75 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of Templates: time 0.004171/1.117, allocations: 0.7657 MB / 1.095 GB, free: 0.5352 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches