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.001315/0.001315, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.001409/0.001409, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.252/2.252, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.12 kB / 0.8127 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2932, allocations: 140.4 MB / 0.9498 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003294/0.2965, allocations: 1.605 MB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004266/0.297, allocations: 132.4 kB / 0.9515 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.297, allocations: 0 / 0.9515 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.2971, allocations: 4 kB / 0.9515 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.2972, allocations: 7.922 kB / 0.9515 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2975, allocations: 27.97 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.2976, allocations: 35.92 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2977, allocations: 8 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.2978, allocations: 23.91 kB / 0.9516 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.2978, allocations: 15.92 kB / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2978, allocations: 4 kB / 0.9516 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.2979, allocations: 23.98 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.298, allocations: 4 kB / 0.9516 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.298, allocations: 23.86 kB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.2981, allocations: 23.95 kB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2981, allocations: 3.984 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2981, allocations: 0 / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2981, allocations: 0 / 0.9516 GB, free: 7.34 MB / 0.7325 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.0005183/0.2987, allocations: 351.7 kB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2987, allocations: 8.031 kB / 0.952 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.2988, allocations: 8.844 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2989, allocations: 176.3 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2989, allocations: 384 / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.299, allocations: 4.375 kB / 0.9522 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2992, allocations: 58.23 kB / 0.9522 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2992, allocations: 192 / 0.9522 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2992, allocations: 3.938 kB / 0.9522 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.2992, allocations: 4 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.2995, allocations: 55.88 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.3, allocations: 288.6 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.3004, allocations: 54.55 kB / 0.9526 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3005, allocations: 32.89 kB / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.3009, allocations: 397.5 kB / 0.953 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3009, allocations: 30.56 kB / 0.9531 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3009, allocations: 0 / 0.9531 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000424/0.3014, allocations: 97.56 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3014, allocations: 55.41 kB / 0.9532 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.3015, allocations: 113.8 kB / 0.9533 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3016, allocations: 29.7 kB / 0.9533 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3016, allocations: 88.08 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3017, allocations: 11.89 kB / 0.9534 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3017, allocations: 13.72 kB / 0.9534 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3018, allocations: 318.8 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.3019, allocations: 19.97 kB / 0.9538 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.302, allocations: 23.98 kB / 0.9538 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3022, allocations: 44.81 kB / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3022, allocations: 0 / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002199/0.3024, allocations: 77.59 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3025, allocations: 4 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3025, allocations: 0 / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3025, allocations: 8 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.3026, allocations: 11.98 kB / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3026, allocations: 4 kB / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.3027, allocations: 7.984 kB / 0.9539 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.3027, allocations: 0 / 0.9539 GB, free: 4.668 MB / 0.7325 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 9.258e-05/0.3028, allocations: 109.8 kB / 0.954 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.3028, allocations: 7.906 kB / 0.9541 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.3031, allocations: 89.8 kB / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3032, allocations: 4 kB / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3032, allocations: 0 / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3032, allocations: 3.984 kB / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3034, allocations: 169.6 kB / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3034, allocations: 0 / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.3034, allocations: 11.98 kB / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3035, allocations: 384 / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3035, allocations: 0 / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3035, allocations: 4 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3035, allocations: 0 / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3038, allocations: 175.4 kB / 0.9545 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3038, allocations: 89 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3038, allocations: 3.938 kB / 0.9546 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.3039, allocations: 4 kB / 0.9546 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.304, allocations: 11.98 kB / 0.9546 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.304, allocations: 7.938 kB / 0.9546 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.3041, allocations: 91.25 kB / 0.9547 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3041, allocations: 0 / 0.9547 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002379/0.3043, allocations: 8 kB / 0.9547 GB, free: 3.789 MB / 0.7325 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.0001733/0.3045, allocations: 103.2 kB / 0.9548 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3048, allocations: 47.95 kB / 0.9548 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3048, allocations: 0 / 0.9548 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3049, allocations: 31.91 kB / 0.9549 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3052, allocations: 7.875 kB / 0.9549 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.3056, allocations: 155.3 kB / 0.955 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3059, allocations: 0.6844 MB / 0.9557 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3059, allocations: 15.42 kB / 0.9557 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.3059, allocations: 0 / 0.9557 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of Templates: time 0.002629/0.3086, allocations: 0.7985 MB / 0.9565 GB, free: 1.887 MB / 0.7325 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