Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001672/0.001672, 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.002022/0.002022, allocations: 195.5 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.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.958/2.958, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.91 kB / 1.109 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9229, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002513/0.9254, allocations: 0.5808 MB / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.9258, allocations: 63.77 kB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.9259, allocations: 0 / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.9259, allocations: 0 / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-06/0.9259, allocations: 0 / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.9263, allocations: 23.86 kB / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.9264, allocations: 31.91 kB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.9265, allocations: 0 / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.9265, allocations: 19.98 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.9265, allocations: 8 kB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.9266, allocations: 4 kB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.9267, allocations: 19.97 kB / 1.275 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.9267, allocations: 7.984 kB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.9268, allocations: 15.88 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.9269, allocations: 38.56 kB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9269, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9269, allocations: 0 / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.9269, allocations: 0 / 1.275 GB, free: 3.695 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004928/0.9274, allocations: 347.4 kB / 1.275 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9274, allocations: 8.031 kB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.9275, allocations: 4.938 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.9276, allocations: 168.3 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.9277, allocations: 384 / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.9277, allocations: 4.375 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.9279, allocations: 62.22 kB / 1.275 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.9279, allocations: 192 / 1.275 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.9279, allocations: 11.94 kB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9279, allocations: 4 kB / 1.275 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.9281, allocations: 99.88 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.9283, allocations: 181.5 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.9285, allocations: 70.53 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.9286, allocations: 28.84 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.929, allocations: 401.5 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.9291, allocations: 34.56 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9291, allocations: 4 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003907/0.9295, allocations: 113.5 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.9295, allocations: 55.41 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.9296, allocations: 98.03 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.9296, allocations: 29.69 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.9296, allocations: 84.08 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.9297, allocations: 23.8 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.9298, allocations: 33.7 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9299, allocations: 314.8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.93, allocations: 19.98 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.9301, allocations: 28.36 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.9302, allocations: 60.98 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.9302, allocations: 0 / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001995/0.9304, allocations: 97.55 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9304, allocations: 9.719 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.9304, allocations: 3.938 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.9304, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.9306, allocations: 19.98 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9306, allocations: 4 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.9306, allocations: 7.953 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.9306, allocations: 4 kB / 1.277 GB, free: 0.9922 MB / 0.9669 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.0001897/0.9308, allocations: 125.3 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.9308, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.9311, allocations: 133.4 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9311, allocations: 0 / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.9312, allocations: 7.938 kB / 1.277 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9312, allocations: 3.984 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.9314, allocations: 177.6 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9314, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.9314, allocations: 15.98 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.9315, allocations: 7.938 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.9315, allocations: 4 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9315, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9315, allocations: 3.938 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.9317, allocations: 129 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.9318, allocations: 81.05 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.9318, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.9318, allocations: 8 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.9319, allocations: 7.984 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.9319, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.9319, allocations: 79.22 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9319, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002873/0.9322, allocations: 16 kB / 1.278 GB, free: 112 kB / 0.9669 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.0002556/0.9324, allocations: 123.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.9326, allocations: 55.97 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9326, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.9327, allocations: 35.91 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.9329, allocations: 8.766 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.9333, allocations: 152.8 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.9338, allocations: 0.6909 MB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.9339, allocations: 39.86 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.934, allocations: 23.42 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.934, allocations: 3.938 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of Templates: time 0.00402/0.938, allocations: 0.6111 MB / 1.28 GB, free: 14.31 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.818868059664965]