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.006782/0.006782, allocations: 102 kB / 15.73 MB, free: 6.477 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.001295/0.001295, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.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.684/2.684, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.84 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002922/0.3378, allocations: 1.53 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.3382, allocations: 132.4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.3383, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.3383, allocations: 7.938 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.3384, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3387, allocations: 27.91 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.3388, allocations: 39.92 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3389, allocations: 15.97 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.339, allocations: 15.94 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.339, allocations: 15.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.339, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.3391, allocations: 23.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3391, allocations: 11.98 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3392, allocations: 15.88 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3393, allocations: 39.88 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3393, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3393, allocations: 0 / 1.09 GB, free: 15.63 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.0004888/0.3398, allocations: 349.1 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3399, allocations: 16.03 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3399, allocations: 4.922 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.34, allocations: 180.2 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.3401, allocations: 4.375 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3401, allocations: 8.312 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3403, allocations: 62.22 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3403, allocations: 192 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3403, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3403, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.3405, allocations: 47.95 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.341, allocations: 280.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.3414, allocations: 58.53 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.3415, allocations: 24.91 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.3419, allocations: 405.5 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.342, allocations: 34.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.342, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004054/0.3424, allocations: 97.48 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3424, allocations: 51.41 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.3425, allocations: 113.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3425, allocations: 25.7 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.3426, allocations: 92.06 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.3426, allocations: 3.906 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.3426, allocations: 17.72 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3428, allocations: 322.8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.3428, allocations: 15.98 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3429, allocations: 23.98 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3431, allocations: 48.81 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3431, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000202/0.3433, allocations: 73.59 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3434, allocations: 7.984 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3434, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3434, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.3435, allocations: 19.98 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3435, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.3435, allocations: 7.906 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3436, allocations: 0 / 1.092 GB, free: 12.96 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 8.553e-05/0.3436, allocations: 117.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.3437, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3439, allocations: 97.42 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3439, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.344, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.344, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3441, allocations: 173.7 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3441, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.3442, allocations: 11.98 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3442, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3442, allocations: 4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3442, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3442, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.3445, allocations: 184.7 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3446, allocations: 81.47 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3446, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.3447, allocations: 7.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.3447, allocations: 8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3447, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.3448, allocations: 91.27 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3448, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.345, allocations: 8 kB / 1.093 GB, free: 12.09 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.0001613/0.3452, allocations: 103.2 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.3455, allocations: 51.94 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3455, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.3456, allocations: 27.92 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3459, allocations: 13.59 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.3462, allocations: 125.6 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3465, allocations: 0.6807 MB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.3466, allocations: 4.547 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3466, allocations: 11.44 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3466, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.003212/0.3498, allocations: 0.7649 MB / 1.095 GB, free: 10.26 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