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.001393/0.001393, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001596/0.001596, allocations: 163.8 kB / 22.46 MB, free: 5.359 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.888/2.888, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 1 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.416e-05, allocations: 4.953 kB / 1 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002585/0.002609, allocations: 1.565 MB / 1.002 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003528/0.002962, allocations: 139.5 kB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.003003, allocations: 0 / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.003028, allocations: 3.938 kB / 1.002 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.003074, allocations: 3.984 kB / 1.002 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.00337, allocations: 31.91 kB / 1.002 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.003445, allocations: 39.84 kB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.003533, allocations: 15.94 kB / 1.002 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.003578, allocations: 19.97 kB / 1.002 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.003622, allocations: 15.98 kB / 1.002 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003637, allocations: 0 / 1.002 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.003724, allocations: 27.97 kB / 1.002 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.003742, allocations: 11.92 kB / 1.002 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.00377, allocations: 11.98 kB / 1.002 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003907, allocations: 51.86 kB / 1.002 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003909, allocations: 0 / 1.002 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003909, allocations: 0 / 1.002 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003913, allocations: 0 / 1.002 GB, free: 4.301 MB / 0.9044 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.0004567/0.004369, allocations: 278.2 kB / 1.002 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.004403, allocations: 12.03 kB / 1.002 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.004436, allocations: 0.9375 kB / 1.002 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.004544, allocations: 113.8 kB / 1.002 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.004564, allocations: 384 / 1.002 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004575, allocations: 8.375 kB / 1.002 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.004773, allocations: 62.22 kB / 1.002 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004781, allocations: 192 / 1.002 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004791, allocations: 4.375 kB / 1.002 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004796, allocations: 384 / 1.002 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.005001, allocations: 47.89 kB / 1.003 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.005349, allocations: 216.5 kB / 1.003 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.00568, allocations: 58.53 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.005788, allocations: 28.84 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.005904, allocations: 11.98 kB / 1.003 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.005932, allocations: 38.44 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005934, allocations: 0 / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004315/0.006365, allocations: 113.5 kB / 1.003 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.006407, allocations: 51.41 kB / 1.003 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.006489, allocations: 105.8 kB / 1.003 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.006506, allocations: 25.7 kB / 1.003 GB, free: 3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.00656, allocations: 84.22 kB / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.006579, allocations: 15.88 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.006625, allocations: 21.7 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.006753, allocations: 310.8 kB / 1.004 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.006853, allocations: 20.23 kB / 1.004 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.006945, allocations: 23.97 kB / 1.004 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.007136, allocations: 52.75 kB / 1.004 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.007138, allocations: 0 / 1.004 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002376/0.007375, allocations: 81.55 kB / 1.004 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.00739, allocations: 4 kB / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.007394, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.007408, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.007492, allocations: 15.98 kB / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007496, allocations: 0 / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.007558, allocations: 7.984 kB / 1.004 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.007566, allocations: 4 kB / 1.004 GB, free: 2.344 MB / 0.9044 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.382e-05/0.00765, allocations: 110.5 kB / 1.004 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.007679, allocations: 11.88 kB / 1.004 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.007957, allocations: 77.33 kB / 1.004 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.007959, allocations: 0 / 1.004 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.007965, allocations: 8 kB / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007967, allocations: 0 / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.008109, allocations: 109.3 kB / 1.004 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.008114, allocations: 4 kB / 1.004 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.008191, allocations: 7.984 kB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008194, allocations: 7.938 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.008204, allocations: 3.938 kB / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.008205, allocations: 0 / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008206, allocations: 0 / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.008495, allocations: 179.4 kB / 1.004 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.008503, allocations: 4 kB / 1.004 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.008521, allocations: 3.938 kB / 1.004 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.008613, allocations: 8.406 kB / 1.004 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.00866, allocations: 7.984 kB / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.008668, allocations: 7.938 kB / 1.004 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.008712, allocations: 79.28 kB / 1.004 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.008712, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002406/0.008953, allocations: 12 kB / 1.004 GB, free: 1.645 MB / 0.9044 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.0001776/0.00913, allocations: 115.1 kB / 1.004 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.009384, allocations: 47.95 kB / 1.005 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009386, allocations: 0 / 1.005 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.009493, allocations: 19.92 kB / 1.005 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.009768, allocations: 13.84 kB / 1.005 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.0101, allocations: 120.7 kB / 1.005 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.01016, allocations: 71.25 kB / 1.005 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.0102, allocations: 7.984 kB / 1.005 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.01023, allocations: 16.5 kB / 1.005 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of SimCode: time 4.4e-07/0.01023, allocations: 0 / 1.005 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of Templates: time 0.003383/0.01361, allocations: 0.7812 MB / 1.006 GB, free: 424 kB / 0.9044 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/jenkins/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: 7.801811169832945]