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.00136/0.00136, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001454/0.001454, allocations: 193.1 kB / 22.17 MB, free: 5.656 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.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.762/2.762, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.001937/0.001937, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8846, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002798/0.8874, allocations: 1.545 MB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003795/0.8878, allocations: 143.5 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.8879, allocations: 0 / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.8879, allocations: 3.938 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.8879, allocations: 3.938 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.8882, allocations: 43.89 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.8883, allocations: 27.92 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.8884, allocations: 11.98 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.8884, allocations: 19.88 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.8884, allocations: 23.91 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.8885, allocations: 4 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.8885, allocations: 19.98 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.8885, allocations: 11.98 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.8886, allocations: 15.88 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.8887, allocations: 50.53 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8887, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8887, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.8887, allocations: 0 / 1.276 GB, free: 2.625 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.0005206/0.8892, allocations: 351.3 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.8893, allocations: 12.03 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.8893, allocations: 4.938 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.8894, allocations: 172.3 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.8895, allocations: 4.312 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.8895, allocations: 8.375 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.8897, allocations: 62.22 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8897, allocations: 192 / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8897, allocations: 3.938 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8897, allocations: 0 / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.8899, allocations: 51.95 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.8903, allocations: 280.8 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.8907, allocations: 58.53 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.8908, allocations: 20.91 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.8911, allocations: 405.5 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8911, allocations: 38.5 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.8911, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004045/0.8915, allocations: 97.53 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.8915, allocations: 51.41 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.8916, allocations: 109.8 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8917, allocations: 29.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.8917, allocations: 88.12 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.8917, allocations: 7.891 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.8918, allocations: 17.72 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8919, allocations: 322.8 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.892, allocations: 15.98 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.8921, allocations: 23.98 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.8923, allocations: 40.81 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8923, allocations: 4 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002499/0.8925, allocations: 77.59 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8926, allocations: 9.875 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8926, allocations: 3.938 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8926, allocations: 3.938 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.8927, allocations: 12 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8927, allocations: 3.984 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.8927, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.8927, allocations: 4 kB / 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 8.709e-05/0.8928, allocations: 117.8 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.8928, allocations: 3.984 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.8931, allocations: 89.48 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8931, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8931, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8931, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.8933, allocations: 173.5 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8933, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.8934, allocations: 11.98 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.8934, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.8934, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8934, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8934, allocations: 8.312 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.8937, allocations: 179.4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.8938, allocations: 77.11 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8938, allocations: 3.938 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.8939, allocations: 7.984 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.8939, allocations: 8 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.8939, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.894, allocations: 87.27 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.894, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002389/0.8942, allocations: 12 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.0001562/0.8944, allocations: 103.7 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.8946, allocations: 43.95 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8946, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.8947, allocations: 27.91 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.895, allocations: 11.94 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.0003469/0.8954, allocations: 133.4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8957, allocations: 0.6768 MB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.8957, allocations: 8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.8957, allocations: 11.44 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8957, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of Templates: time 0.003605/0.8994, allocations: 0.7802 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 cvode -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.738162048626691]