Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001126/0.001126, allocations: 80.48 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.001359/0.001359, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.961/0.961, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.678e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001477/0.001504, allocations: 0.5994 MB / 0.9828 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.001753, allocations: 55.8 kB / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.001775, allocations: 3.938 kB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.001805, allocations: 0 / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.001811, allocations: 0 / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.002133, allocations: 11.98 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.002221, allocations: 35.95 kB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.002262, allocations: 0 / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.002302, allocations: 19.97 kB / 0.9829 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.002328, allocations: 7.984 kB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.002343, allocations: 8 kB / 0.983 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.00243, allocations: 19.97 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.002459, allocations: 15.86 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.002487, allocations: 15.98 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.002597, allocations: 35.83 kB / 0.983 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002599, allocations: 0 / 0.983 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.92e-07/0.0026, allocations: 3.938 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002603, allocations: 0 / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002861/0.002889, allocations: 266.3 kB / 0.9833 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.002924, allocations: 8.031 kB / 0.9833 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.002959, allocations: 8.938 kB / 0.9833 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.003024, allocations: 105.8 kB / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003037, allocations: 4.375 kB / 0.9834 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.003047, allocations: 384 / 0.9834 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.003177, allocations: 66.17 kB / 0.9835 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.003186, allocations: 192 / 0.9835 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.003196, allocations: 4.375 kB / 0.9835 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003202, allocations: 4.359 kB / 0.9835 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.003324, allocations: 99.75 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.003456, allocations: 125.2 kB / 0.9837 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.003557, allocations: 70.59 kB / 0.9838 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.003598, allocations: 28.84 kB / 0.9838 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.003787, allocations: 19.98 kB / 0.9838 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.003809, allocations: 34.56 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.00381, allocations: 0 / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0002392/0.004049, allocations: 117.6 kB / 0.984 GB, free: 144 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.004078, allocations: 51.41 kB / 0.984 GB, free: 80 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.004118, allocations: 94.03 kB / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.00413, allocations: 33.7 kB / 0.9841 GB, free: 15.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.00415, allocations: 88.02 kB / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.004175, allocations: 23.8 kB / 0.9842 GB, free: 15.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.004208, allocations: 29.7 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.004284, allocations: 322.8 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.004311, allocations: 19.98 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.004333, allocations: 19.98 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.004402, allocations: 60.78 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004404, allocations: 0 / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.811e-05/0.004492, allocations: 94.25 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004503, allocations: 4 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004507, allocations: 0 / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.004518, allocations: 0 / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.004593, allocations: 19.98 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.004598, allocations: 4 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.004613, allocations: 15.89 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.00462, allocations: 4 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.977e-05/0.004719, allocations: 129.7 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.004725, allocations: 0 / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.004864, allocations: 125.6 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.004867, allocations: 4 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.004871, allocations: 3.938 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.004875, allocations: 3.938 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.004e-05/0.004945, allocations: 129.2 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004946, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.004983, allocations: 23.92 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.004986, allocations: 4 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.004991, allocations: 0 / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004992, allocations: 0 / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004993, allocations: 4 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.539e-05/0.005088, allocations: 121 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.005093, allocations: 4 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.005104, allocations: 4 kB / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.00511, allocations: 0 / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.005139, allocations: 15.92 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005143, allocations: 4 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.005162, allocations: 79.22 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.005162, allocations: 0 / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001302/0.005292, allocations: 16 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001204/0.005413, allocations: 119.1 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.005512, allocations: 55.97 kB / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005513, allocations: 0 / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.005542, allocations: 39.91 kB / 0.9857 GB, free: 14.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.718e-05/0.005639, allocations: 8 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.005849, allocations: 162.6 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.005891, allocations: 67.2 kB / 0.9859 GB, free: 13.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.005914, allocations: 24.48 kB / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/0.005915, allocations: 0 / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of Templates: time 0.001613/0.007527, allocations: 0.9837 MB / 0.9869 GB, free: 12.98 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.684228674508631]