Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_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.008626/0.008626, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001896/0.001896, allocations: 190 kB / 16.67 MB, free: 5.883 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.8 MB / 0.7347 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 71.88 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3581, allocations: 157.4 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003263/0.3614, allocations: 1.528 MB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003626/0.3618, allocations: 127.6 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.3619, allocations: 4 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.3619, allocations: 11.92 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.362, allocations: 3.938 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.3623, allocations: 31.91 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.3624, allocations: 35.97 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.3625, allocations: 8 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.3625, allocations: 15.92 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.3625, allocations: 19.92 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3626, allocations: 8 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.3626, allocations: 23.86 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.3627, allocations: 15.97 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.3627, allocations: 11.88 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3628, allocations: 47.88 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3628, allocations: 3.984 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3628, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3629, allocations: 4 kB / 1.21 GB, free: 7.664 MB / 0.9669 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.0004876/0.3634, allocations: 347.4 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3634, allocations: 8.625 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.3634, allocations: 8.844 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3636, allocations: 164.4 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3636, allocations: 8.359 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3636, allocations: 384 / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3638, allocations: 74.14 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3638, allocations: 192 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3638, allocations: 7.875 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3638, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.364, allocations: 47.95 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3644, allocations: 284.7 kB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3647, allocations: 58.48 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.3649, allocations: 32.89 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.3651, allocations: 393.5 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3652, allocations: 34.56 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3652, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003699/0.3656, allocations: 93.62 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3656, allocations: 51.41 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.3657, allocations: 113.9 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3657, allocations: 29.7 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.3658, allocations: 88.12 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.3658, allocations: 3.906 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3658, allocations: 25.7 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.366, allocations: 318.8 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.366, allocations: 19.97 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.3661, allocations: 23.98 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3663, allocations: 44.81 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3663, allocations: 4 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002025/0.3665, allocations: 73.56 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3665, allocations: 8 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3665, allocations: 0 / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3666, allocations: 7.938 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.3667, allocations: 11.98 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.3667, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.3667, allocations: 11.92 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3667, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 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 7.297e-05/0.3668, allocations: 113.8 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3668, allocations: 0 / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.3671, allocations: 89.88 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3671, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3671, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3672, allocations: 3.984 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3673, allocations: 181.5 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3673, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.3674, allocations: 15.92 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3674, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3674, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3675, allocations: 8 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3675, allocations: 0 / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.3677, allocations: 167.5 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3678, allocations: 81.09 kB / 1.212 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3678, allocations: 0 / 1.212 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.3679, allocations: 4 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3679, allocations: 15.98 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3679, allocations: 0 / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.368, allocations: 91.27 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.368, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002159/0.3682, allocations: 8 kB / 1.213 GB, free: 4.121 MB / 0.9669 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.0001499/0.3684, allocations: 103.2 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3686, allocations: 43.95 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3686, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.3687, allocations: 27.97 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.369, allocations: 12.91 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.3693, allocations: 129.2 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3696, allocations: 0.6807 MB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.3696, allocations: 11.92 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3696, allocations: 11.44 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3696, allocations: 0 / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of Templates: time 0.002862/0.3725, allocations: 0.764 MB / 1.214 GB, free: 2.281 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches