Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_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.001132/0.001132, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009002/0.009002, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7245, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001651/0.7262, allocations: 1.256 MB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.7266, allocations: 128.5 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.7266, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.7267, allocations: 7.938 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.7267, allocations: 3.984 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.727, allocations: 19.98 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.727, allocations: 39.91 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.7271, allocations: 8 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.7272, allocations: 19.92 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.7272, allocations: 11.92 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.7272, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.7273, allocations: 15.98 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.7273, allocations: 11.98 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.7274, allocations: 41.52 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.7275, allocations: 47.86 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7275, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7275, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.7275, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 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.0004872/0.728, allocations: 349.5 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7281, allocations: 12.03 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.7281, allocations: 4.844 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.7282, allocations: 172.3 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.7283, allocations: 384 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.7283, allocations: 8.375 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.7285, allocations: 62.22 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7285, allocations: 192 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7285, allocations: 11.88 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7285, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.7287, allocations: 59.89 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.7291, allocations: 276.8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.7295, allocations: 66.53 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.7296, allocations: 28.91 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.7299, allocations: 409.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.7299, allocations: 38.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7299, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004032/0.7303, allocations: 113.6 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7304, allocations: 55.41 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.7304, allocations: 113.8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.7305, allocations: 25.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.7305, allocations: 88.05 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.7305, allocations: 7.969 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7306, allocations: 13.72 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7307, allocations: 322.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7308, allocations: 31.92 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.7309, allocations: 19.98 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.7311, allocations: 60.81 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7311, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002368/0.7313, allocations: 85.64 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7314, allocations: 8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7314, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7314, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.7315, allocations: 11.98 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.7315, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.7316, allocations: 11.94 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.7316, allocations: 3.938 kB / 1.027 GB, free: 11.46 MB / 0.7794 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.032e-05/0.7317, allocations: 122.3 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.7317, allocations: 3.906 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.732, allocations: 93.55 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.732, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.732, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.732, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.7322, allocations: 169.6 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7322, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.7323, allocations: 11.98 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7323, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7323, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.7324, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7324, allocations: 7.875 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.7327, allocations: 187.4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.7327, allocations: 81.11 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.7327, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.7328, allocations: 7.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.7329, allocations: 4.422 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.7329, allocations: 7.984 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.733, allocations: 87.28 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.733, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002378/0.7332, allocations: 11.91 kB / 1.028 GB, free: 10.56 MB / 0.7794 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.0001652/0.7334, allocations: 106.7 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.7337, allocations: 67.88 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7337, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.7338, allocations: 27.98 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.7341, allocations: 7.938 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.7344, allocations: 136.7 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.7347, allocations: 0.6809 MB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.7348, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.7348, allocations: 11.44 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7348, allocations: 0 / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of Templates: time 0.003372/0.7382, allocations: 0.6636 MB / 1.029 GB, free: 8.809 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches