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.005806/0.005806, allocations: 101.8 kB / 15.73 MB, free: 6 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.001218/0.001218, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.31/2.31, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003024/1.074, allocations: 1.523 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/1.074, allocations: 141 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/1.074, allocations: 1.062 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/1.074, allocations: 1.078 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/1.074, allocations: 9.031 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/1.075, allocations: 35.22 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/1.075, allocations: 35.92 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/1.075, allocations: 16.38 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/1.075, allocations: 11.81 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/1.075, allocations: 22.3 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/1.075, allocations: 2.875 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/1.075, allocations: 18.83 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/1.075, allocations: 19.2 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/1.075, allocations: 13.55 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/1.075, allocations: 45.05 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.075, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/1.075, allocations: 3.938 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.075, allocations: 0 / 1.09 GB, free: 4.266 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.0004853/1.076, allocations: 356.1 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.076, allocations: 13.5 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/1.076, allocations: 3.453 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/1.076, allocations: 175.3 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.076, allocations: 1.562 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/1.076, allocations: 6.5 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.076, allocations: 59.83 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.076, allocations: 192 / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.076, allocations: 7.938 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.076, allocations: 1.219 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/1.077, allocations: 47.95 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/1.077, allocations: 278.6 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/1.077, allocations: 53.08 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.077, allocations: 26.62 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/1.078, allocations: 405.4 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/1.078, allocations: 35.22 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/1.078, allocations: 0.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003986/1.078, allocations: 93.12 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/1.078, allocations: 57.47 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/1.078, allocations: 106.7 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/1.078, allocations: 30.61 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/1.078, allocations: 86.44 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/1.078, allocations: 5 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/1.078, allocations: 20.12 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/1.078, allocations: 317.8 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/1.078, allocations: 20.34 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/1.079, allocations: 15.77 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/1.079, allocations: 58 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.079, allocations: 0 / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002145/1.079, allocations: 74.81 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.079, allocations: 5.078 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/1.079, allocations: 1.344 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.079, allocations: 336 / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/1.079, allocations: 11.23 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.079, allocations: 4 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/1.079, allocations: 19.34 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/1.079, allocations: 1.641 kB / 1.092 GB, free: 2.027 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 5.755e-05/1.079, allocations: 120.7 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/1.079, allocations: 6.641 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/1.08, allocations: 83.7 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.08, allocations: 5.625 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.08, allocations: 0 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.08, allocations: 1.188 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/1.08, allocations: 173.5 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.08, allocations: 0.5156 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/1.08, allocations: 11.25 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.08, allocations: 1.25 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.08, allocations: 0.5625 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.08, allocations: 1.781 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.08, allocations: 0 / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/1.08, allocations: 185.8 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/1.08, allocations: 78.98 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/1.08, allocations: 1.766 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/1.08, allocations: 5.156 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.08, allocations: 5.328 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/1.08, allocations: 6.141 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.083e-05/1.08, allocations: 87.08 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.08, allocations: 0.8125 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002324/1.081, allocations: 11.78 kB / 1.093 GB, free: 1.305 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.0001589/1.081, allocations: 102.4 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002548/1.081, allocations: 45.7 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.081, allocations: 4 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/1.081, allocations: 29.67 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/1.081, allocations: 12.12 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/1.082, allocations: 128.2 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/1.082, allocations: 0.6793 MB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.53e-05/1.082, allocations: 8.719 kB / 1.094 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/1.082, allocations: 10.67 kB / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.082, allocations: 0 / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.003764/1.086, allocations: 0.7762 MB / 1.095 GB, free: 16.28 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/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