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.001404/0.001404, allocations: 80.28 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.001669/0.001669, allocations: 170.6 kB / 22.46 MB, free: 5.355 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.459/1.459, 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 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 2.856/2.856, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] 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.453e-06/1.453e-06, allocations: 0 / 0.9815 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.434e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001518/0.001542, allocations: 0.5946 MB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.001801, allocations: 55.72 kB / 0.9821 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.001822, allocations: 0 / 0.9821 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.001848, allocations: 0 / 0.9821 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.001854, allocations: 0 / 0.9821 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.002132, allocations: 19.92 kB / 0.9821 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.002211, allocations: 31.91 kB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.002246, allocations: 0 / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.002283, allocations: 19.97 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.002312, allocations: 11.98 kB / 0.9822 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002327, allocations: 4 kB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.002424, allocations: 23.91 kB / 0.9822 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.002454, allocations: 15.98 kB / 0.9822 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.002482, allocations: 11.92 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.002585, allocations: 31.89 kB / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.002589, allocations: 4 kB / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00259, allocations: 0 / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.002597, allocations: 0 / 0.9823 GB, free: 11.03 MB / 0.9356 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.0003318/0.002929, allocations: 266.3 kB / 0.9825 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.002965, allocations: 8.031 kB / 0.9825 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.002999, allocations: 4.938 kB / 0.9826 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.003079, allocations: 105.8 kB / 0.9827 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.00309, allocations: 8.375 kB / 0.9827 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.003105, allocations: 8.312 kB / 0.9827 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.003247, allocations: 62.22 kB / 0.9827 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.003254, allocations: 192 / 0.9827 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.003263, allocations: 4.312 kB / 0.9827 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.003269, allocations: 4.375 kB / 0.9827 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.003415, allocations: 95.81 kB / 0.9828 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.003579, allocations: 125.2 kB / 0.9829 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.003695, allocations: 62.48 kB / 0.983 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.003743, allocations: 36.84 kB / 0.983 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.003909, allocations: 27.97 kB / 0.9831 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.003933, allocations: 30.56 kB / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.003935, allocations: 0 / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0002539/0.004188, allocations: 110.2 kB / 0.9832 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.004224, allocations: 51.41 kB / 0.9833 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.004281, allocations: 101.8 kB / 0.9833 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.004298, allocations: 25.7 kB / 0.9834 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.004335, allocations: 88.06 kB / 0.9835 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.004372, allocations: 27.78 kB / 0.9835 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.004421, allocations: 29.72 kB / 0.9835 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.004558, allocations: 326.8 kB / 0.9838 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.004603, allocations: 23.98 kB / 0.9838 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.004642, allocations: 24.03 kB / 0.9839 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.004744, allocations: 56.83 kB / 0.9839 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.004746, allocations: 3.938 kB / 0.9839 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001521/0.004898, allocations: 89.67 kB / 0.984 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.004911, allocations: 8 kB / 0.984 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004915, allocations: 0 / 0.984 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.004926, allocations: 3.938 kB / 0.984 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.005031, allocations: 23.92 kB / 0.984 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005036, allocations: 4 kB / 0.9841 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.005059, allocations: 7.891 kB / 0.9841 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.005068, allocations: 4 kB / 0.9841 GB, free: 9.031 MB / 0.9356 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 0.0001234/0.005191, allocations: 121.8 kB / 0.9842 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.005203, allocations: 0 / 0.9842 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.005434, allocations: 133.4 kB / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005436, allocations: 0 / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005439, allocations: 0 / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.005444, allocations: 3.938 kB / 0.9843 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.005561, allocations: 121.2 kB / 0.9844 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.005562, allocations: 0 / 0.9844 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.005638, allocations: 19.98 kB / 0.9844 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00564, allocations: 0 / 0.9844 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.005651, allocations: 8 kB / 0.9845 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.005652, allocations: 0 / 0.9845 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005653, allocations: 0 / 0.9845 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.005828, allocations: 132.9 kB / 0.9846 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.005832, allocations: 0 / 0.9846 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.005844, allocations: 0 / 0.9846 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.005863, allocations: 4 kB / 0.9846 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.005903, allocations: 15.92 kB / 0.9846 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.005909, allocations: 4 kB / 0.9846 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.005941, allocations: 75.28 kB / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.005941, allocations: 0 / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002111/0.006152, allocations: 19.98 kB / 0.9847 GB, free: 8.324 MB / 0.9356 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.0001709/0.006323, allocations: 111.2 kB / 0.9848 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.006482, allocations: 64.44 kB / 0.9849 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006484, allocations: 0 / 0.9849 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.006541, allocations: 40.14 kB / 0.9849 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.006675, allocations: 224 / 0.9849 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.006969, allocations: 152.8 kB / 0.985 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.007034, allocations: 71.2 kB / 0.9851 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.056e-05/0.007104, allocations: 27.95 kB / 0.9851 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.007138, allocations: 24.47 kB / 0.9852 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.007138, allocations: 0 / 0.9852 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.003234/0.01037, allocations: 0.58 MB / 0.9857 GB, free: 7.207 MB / 0.9356 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: 7.898269575089216]