Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 196.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7645 GB, free: 10.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 59.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8665, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002991/0.8695, allocations: 1.555 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.87, allocations: 135.6 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.87, allocations: 0 / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.87, allocations: 7.938 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.8701, allocations: 7.922 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.8704, allocations: 31.91 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.8705, allocations: 39.91 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.8706, allocations: 8 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.8706, allocations: 19.91 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.8707, allocations: 23.92 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.8707, allocations: 4 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.8708, allocations: 15.98 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.8708, allocations: 8 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.8708, allocations: 23.86 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.871, allocations: 38.55 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.871, allocations: 4 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.871, allocations: 0 / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.871, allocations: 0 / 1.276 GB, free: 2.633 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.0005569/0.8716, allocations: 359.3 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.8716, allocations: 8.031 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.8716, allocations: 4.938 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8718, allocations: 168.3 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.8718, allocations: 4.375 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.8718, allocations: 12.31 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.872, allocations: 62.22 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.872, allocations: 192 / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.872, allocations: 7.938 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.872, allocations: 0 / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.8722, allocations: 43.89 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.8727, allocations: 288.8 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.873, allocations: 54.55 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.8731, allocations: 28.81 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.8735, allocations: 401.5 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.8735, allocations: 34.56 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.8735, allocations: 0 / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000423/0.8739, allocations: 101.5 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.874, allocations: 51.41 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.8741, allocations: 109.8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.8741, allocations: 25.7 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.8741, allocations: 92.14 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.8742, allocations: 7.891 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.8742, allocations: 21.64 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8743, allocations: 318.8 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.8744, allocations: 23.97 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.8745, allocations: 15.98 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.8747, allocations: 48.81 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8747, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000248/0.8749, allocations: 81.55 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.875, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.875, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.875, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.8751, allocations: 11.98 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8751, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.8751, allocations: 11.98 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.8751, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 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.454e-05/0.8752, allocations: 119.3 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8753, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.8755, allocations: 85.48 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8755, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8755, allocations: 4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8755, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.8757, allocations: 173.5 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8757, allocations: 7.922 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.8758, allocations: 8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8758, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.8758, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8758, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8758, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.8761, allocations: 175.8 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.8762, allocations: 81.11 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.8762, allocations: 8.031 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.8763, allocations: 7.984 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.8763, allocations: 11.92 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8763, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.439e-05/0.8764, allocations: 83.59 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8764, allocations: 8 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000233/0.8766, allocations: 11.98 kB / 1.279 GB, free: 15.08 MB / 0.9825 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.0001767/0.8768, allocations: 110.8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8771, allocations: 39.95 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8771, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.8772, allocations: 27.97 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.8775, allocations: 17.83 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.8778, allocations: 133.3 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.8781, allocations: 0.6807 MB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.8781, allocations: 8.219 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.8782, allocations: 19.42 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8782, allocations: 4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of Templates: time 0.003507/0.8817, allocations: 0.7595 MB / 1.281 GB, free: 13.23 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.79453448811546]