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.001596/0.001596, allocations: 115 kB / 17.08 MB, free: 5.805 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.001739/0.001739, allocations: 189.2 kB / 20.03 MB, free: 2.926 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.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.199 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.69/2.69, allocations: 437.1 MB / 0.7178 GB, free: 4.477 MB / 0.5606 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.001923/0.001924, allocations: 63.89 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3143, allocations: 151.6 MB / 1.176 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001717/0.3161, allocations: 0.5922 MB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.3164, allocations: 51.8 kB / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.3164, allocations: 0 / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.3164, allocations: 0 / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.3164, allocations: 0 / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3167, allocations: 19.92 kB / 1.177 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.3168, allocations: 35.95 kB / 1.177 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.3169, allocations: 3.938 kB / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.3169, allocations: 11.98 kB / 1.177 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.83e-05/0.3169, allocations: 15.98 kB / 1.177 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.317, allocations: 0 / 1.177 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.317, allocations: 15.98 kB / 1.177 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.3171, allocations: 15.98 kB / 1.177 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.3171, allocations: 15.92 kB / 1.177 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.3172, allocations: 31.83 kB / 1.177 GB, free: 5.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3172, allocations: 0 / 1.177 GB, free: 5.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3172, allocations: 3.938 kB / 1.177 GB, free: 5.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3173, allocations: 0 / 1.177 GB, free: 5.027 MB / 0.92 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.0003951/0.3177, allocations: 339.8 kB / 1.177 GB, free: 4.645 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3177, allocations: 23.97 kB / 1.177 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.3177, allocations: 4.938 kB / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3179, allocations: 164.4 kB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3179, allocations: 384 / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3179, allocations: 12.31 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3181, allocations: 62.17 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3181, allocations: 192 / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3181, allocations: 7.922 kB / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3181, allocations: 7.938 kB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.3183, allocations: 95.88 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.3185, allocations: 185.5 kB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3186, allocations: 78.53 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.3187, allocations: 28.84 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.319, allocations: 401.5 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3191, allocations: 34.56 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3191, allocations: 0 / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002645/0.3194, allocations: 113.6 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3194, allocations: 55.41 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.3195, allocations: 101.8 kB / 1.178 GB, free: 3.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3195, allocations: 25.7 kB / 1.178 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3195, allocations: 84.36 kB / 1.178 GB, free: 2.945 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3196, allocations: 27.83 kB / 1.178 GB, free: 2.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3196, allocations: 29.66 kB / 1.178 GB, free: 2.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3198, allocations: 322.8 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.3198, allocations: 19.98 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.3199, allocations: 23.98 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.32, allocations: 60.83 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.32, allocations: 0 / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001652/0.3202, allocations: 86.27 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3202, allocations: 8 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3202, allocations: 3.938 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3202, allocations: 0 / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3203, allocations: 23.92 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3203, allocations: 3.984 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.3204, allocations: 11.89 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3204, allocations: 8 kB / 1.179 GB, free: 2.305 MB / 0.92 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.0001286/0.3205, allocations: 121.8 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.3205, allocations: 4 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.3208, allocations: 125.5 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3208, allocations: 0 / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3208, allocations: 0 / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3208, allocations: 3.984 kB / 1.179 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.321, allocations: 185.5 kB / 1.179 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.321, allocations: 0 / 1.179 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.321, allocations: 19.98 kB / 1.179 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3211, allocations: 3.938 kB / 1.179 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3211, allocations: 4 kB / 1.179 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3211, allocations: 3.938 kB / 1.179 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3211, allocations: 0 / 1.179 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3213, allocations: 125 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3213, allocations: 92.94 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3213, allocations: 4 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.3213, allocations: 4 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3214, allocations: 7.984 kB / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3214, allocations: 4 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.3214, allocations: 75.28 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.024e-06/0.3215, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001928/0.3217, allocations: 15.94 kB / 1.18 GB, free: 1.41 MB / 0.92 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.0001843/0.3218, allocations: 121.5 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.322, allocations: 63.91 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.322, allocations: 0 / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.3221, allocations: 31.98 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3222, allocations: 10.33 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.3225, allocations: 174.4 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3228, allocations: 0.6821 MB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3229, allocations: 27.42 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3229, allocations: 0 / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of Templates: time 0.002499/0.3254, allocations: 0.9487 MB / 1.182 GB, free: 15.3 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.343422845937312]