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.000861/0.000861, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008299/0.0008299, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8977/0.8977, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.808/1.808, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 3.938 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.784e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001927/0.001955, allocations: 1.555 MB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.002259, allocations: 140.2 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.002294, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.002326, allocations: 3.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.002366, allocations: 3.984 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.002665, allocations: 31.91 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.002741, allocations: 35.91 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.002839, allocations: 19.86 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.002877, allocations: 19.98 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.002915, allocations: 11.98 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.002929, allocations: 4 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.003005, allocations: 27.95 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.003016, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.003034, allocations: 8 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003158, allocations: 55.86 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00316, allocations: 0 / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003161, allocations: 7.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003165, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 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.0003584/0.003524, allocations: 274.2 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.003559, allocations: 12.75 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.003588, allocations: 0.9375 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.003664, allocations: 113.8 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.003683, allocations: 384 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.003692, allocations: 4.375 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.003835, allocations: 62.22 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.003842, allocations: 4.188 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003851, allocations: 4.375 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.003855, allocations: 384 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.003959, allocations: 55.81 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.004255, allocations: 212.5 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.004466, allocations: 58.53 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.004517, allocations: 28.91 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.004618, allocations: 23.97 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.004788, allocations: 38.44 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.004789, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002433/0.005032, allocations: 93.62 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.005058, allocations: 51.41 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.005109, allocations: 105.8 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005122, allocations: 29.7 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.005159, allocations: 88.03 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.005176, allocations: 11.89 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.005205, allocations: 29.64 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.005274, allocations: 310.8 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.00532, allocations: 19.98 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.005362, allocations: 23.91 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.005448, allocations: 44.83 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00545, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001173/0.005567, allocations: 81.58 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005578, allocations: 4 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005584, allocations: 3.984 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005594, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.005644, allocations: 15.98 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005648, allocations: 0 / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.005675, allocations: 7.984 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.00568, allocations: 4 kB / 1.005 GB, free: 9.117 MB / 0.9636 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 5.875e-05/0.005739, allocations: 113.8 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.005753, allocations: 7.938 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.00591, allocations: 81.33 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005912, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.005916, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.005918, allocations: 4 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.208e-05/0.00601, allocations: 109.3 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006011, allocations: 0 / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.006045, allocations: 15.98 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006048, allocations: 4 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.006055, allocations: 3.938 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006056, allocations: 0 / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006057, allocations: 0 / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.006201, allocations: 171.4 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.006208, allocations: 8.422 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006221, allocations: 12.12 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.006262, allocations: 11.98 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.006302, allocations: 4 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.006308, allocations: 7.984 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.006335, allocations: 83.28 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006335, allocations: 0 / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001588/0.006494, allocations: 8 kB / 1.005 GB, free: 8.414 MB / 0.9636 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.0001243/0.006619, allocations: 103.2 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.006757, allocations: 55.88 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006759, allocations: 4 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.006804, allocations: 19.98 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.007008, allocations: 7.938 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.007287, allocations: 154.5 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.00733, allocations: 63.34 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.007357, allocations: 12.5 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.007358, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of Templates: time 0.001664/0.009022, allocations: 0.7967 MB / 1.006 GB, free: 7.148 MB / 0.9636 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: 6.433159154839814]