Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00141/0.00141, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001343/0.001343, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.4 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 1.059 GB, free: 272 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 160.7 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001781/0.322, allocations: 0.5911 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003084/0.3223, allocations: 55.78 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.3223, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.3223, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.3223, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.3226, allocations: 19.92 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3227, allocations: 35.95 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3228, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.3228, allocations: 8 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.3228, allocations: 19.91 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3228, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.3229, allocations: 19.98 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.323, allocations: 8 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.323, allocations: 11.92 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3231, allocations: 35.83 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3231, allocations: 4 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3231, allocations: 0 / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.3231, allocations: 0 / 1.217 GB, free: 14.43 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.0004108/0.3235, allocations: 343.4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3236, allocations: 8.031 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.3236, allocations: 0.9375 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3237, allocations: 172.3 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3237, allocations: 384 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3238, allocations: 12.31 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3239, allocations: 62.23 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3239, allocations: 4.125 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3239, allocations: 3.938 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3239, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.3241, allocations: 103.9 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.3243, allocations: 185.5 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3244, allocations: 66.55 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.3245, allocations: 24.84 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.3248, allocations: 409.5 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3249, allocations: 30.56 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3249, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002614/0.3251, allocations: 121.8 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3252, allocations: 55.41 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.3252, allocations: 97.81 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3252, allocations: 25.7 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3253, allocations: 80.14 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3254, allocations: 27.8 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.3254, allocations: 33.7 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3256, allocations: 318.8 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.3256, allocations: 19.98 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.3257, allocations: 23.92 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.3257, allocations: 53.5 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3258, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001465/0.3259, allocations: 101.5 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3259, allocations: 8 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3259, allocations: 7.938 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3259, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.326, allocations: 19.98 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.326, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3261, allocations: 11.83 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.3261, allocations: 4 kB / 1.219 GB, free: 11.72 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.0001343/0.3262, allocations: 121.8 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3262, allocations: 4 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3264, allocations: 125.5 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3264, allocations: 4 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3264, allocations: 0 / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3264, allocations: 0 / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3266, allocations: 177.6 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3266, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.3267, allocations: 19.98 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3267, allocations: 7.875 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3267, allocations: 4 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3267, allocations: 4 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3267, allocations: 3.938 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3269, allocations: 117 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3269, allocations: 92.94 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3269, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.3269, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.327, allocations: 7.984 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.327, allocations: 8 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.327, allocations: 79.28 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.327, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001997/0.3272, allocations: 16 kB / 1.22 GB, free: 10.83 MB / 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.0001913/0.3274, allocations: 119.2 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3276, allocations: 55.91 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3276, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.3276, allocations: 31.92 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3277, allocations: 13.56 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.3281, allocations: 164.8 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3284, allocations: 0.6807 MB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3285, allocations: 39.92 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.3285, allocations: 15.44 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/0.3285, allocations: 0 / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.002995/0.3315, allocations: 0.6035 MB / 1.222 GB, free: 9.059 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.032829998061061]