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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 219.7 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.24/3.24, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.42 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002965/0.3528, allocations: 1.576 MB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.3532, allocations: 135.6 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.3532, allocations: 4 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3533, allocations: 3.938 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.3533, allocations: 3.938 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3536, allocations: 31.91 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.3537, allocations: 35.91 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3538, allocations: 11.98 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.3539, allocations: 19.92 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.3539, allocations: 19.92 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3539, allocations: 0 / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.354, allocations: 23.98 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.354, allocations: 15.97 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3541, allocations: 15.88 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.3542, allocations: 43.81 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3542, allocations: 0 / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3542, allocations: 4 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3542, allocations: 0 / 1.356 GB, free: 6.062 MB / 1.045 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.0004963/0.3547, allocations: 278.3 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3548, allocations: 12.03 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3548, allocations: 8.891 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3549, allocations: 110.5 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3549, allocations: 384 / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3549, allocations: 4.375 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3551, allocations: 70.09 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3551, allocations: 192 / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3552, allocations: 11.88 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3552, allocations: 4 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3554, allocations: 43.95 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.3558, allocations: 247.9 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.3561, allocations: 58.47 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.3562, allocations: 24.91 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.3563, allocations: 23.98 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3564, allocations: 34.55 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3564, allocations: 0 / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004133/0.3568, allocations: 101.5 kB / 1.357 GB, free: 4.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3568, allocations: 51.41 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.3569, allocations: 109.8 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3569, allocations: 25.7 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.357, allocations: 92.12 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.357, allocations: 8.016 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.3571, allocations: 17.72 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3572, allocations: 314.8 kB / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.3573, allocations: 23.97 kB / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.3574, allocations: 23.98 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3575, allocations: 40.81 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3575, allocations: 0 / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002129/0.3578, allocations: 77.92 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3578, allocations: 4 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3578, allocations: 0 / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3578, allocations: 7.984 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.3579, allocations: 8 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3579, allocations: 4 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.3579, allocations: 15.88 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3579, allocations: 3.984 kB / 1.358 GB, free: 4.051 MB / 1.045 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.022e-05/0.358, allocations: 117.7 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3581, allocations: 4 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.3583, allocations: 93.56 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3583, allocations: 3.938 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3583, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3583, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.3585, allocations: 140.7 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3585, allocations: 0 / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.3586, allocations: 11.98 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3586, allocations: 0 / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3586, allocations: 4 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3586, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3586, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3589, allocations: 191.3 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.3589, allocations: 0 / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3589, allocations: 0 / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.359, allocations: 4 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.359, allocations: 11.98 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.359, allocations: 7.938 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.3591, allocations: 91.58 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3591, allocations: 0 / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002279/0.3593, allocations: 8 kB / 1.358 GB, free: 3.297 MB / 1.045 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.0001685/0.3595, allocations: 95.25 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3597, allocations: 47.94 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3597, allocations: 0 / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.3598, allocations: 27.98 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3601, allocations: 5.828 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3605, allocations: 155.1 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3608, allocations: 0.6807 MB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3608, allocations: 7.438 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3608, allocations: 0 / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of Templates: time 0.002472/0.3633, allocations: 0.8114 MB / 1.36 GB, free: 1.41 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.004406192980241]