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.001786/0.001786, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.002072/0.002072, allocations: 159 kB / 23.01 MB, free: 4.949 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.75/2.75, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64.19 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8086, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001433/0.81, allocations: 0.5853 MB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.8102, allocations: 48.16 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.8103, allocations: 0 / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.8103, allocations: 3.281 kB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.8103, allocations: 0 / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.8106, allocations: 23.44 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.8106, allocations: 43.23 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.8107, allocations: 0 / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.8107, allocations: 9.531 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.8107, allocations: 16.91 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.8107, allocations: 2.5 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.8108, allocations: 18.45 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.8108, allocations: 11.91 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.8108, allocations: 14.25 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.563e-05/0.8109, allocations: 39.64 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8109, allocations: 0 / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8109, allocations: 0 / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8109, allocations: 2.625 kB / 1.155 GB, free: 32.89 MB / 1.076 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.0002303/0.8112, allocations: 261.7 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.8112, allocations: 12.59 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.8112, allocations: 7.359 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.468e-05/0.8113, allocations: 109.2 kB / 1.155 GB, free: 32.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.8113, allocations: 6.781 kB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.8113, allocations: 7.094 kB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.8114, allocations: 60.05 kB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.8114, allocations: 2.719 kB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.8114, allocations: 3.938 kB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8114, allocations: 0 / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.8115, allocations: 95.86 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.8116, allocations: 116.7 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.8117, allocations: 73.69 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.8118, allocations: 31.11 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.8119, allocations: 16.31 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.8119, allocations: 41.06 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.8119, allocations: 0 / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002133/0.8122, allocations: 124.1 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.8122, allocations: 54.69 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.897e-05/0.8122, allocations: 97.08 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.8122, allocations: 25.7 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-06/0.8122, allocations: 80.14 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.8122, allocations: 29.45 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.8123, allocations: 32.14 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.8123, allocations: 314.1 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.8123, allocations: 21.44 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.8124, allocations: 22.62 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.8124, allocations: 66.7 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8124, allocations: 4 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001078/0.8126, allocations: 91.3 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.8126, allocations: 9.094 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8126, allocations: 0 / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8126, allocations: 3.938 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.8127, allocations: 26.72 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.8127, allocations: 3.375 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.8127, allocations: 2.938 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.8127, allocations: 2.781 kB / 1.157 GB, free: 31.38 MB / 1.076 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 7.448e-05/0.8128, allocations: 126 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.8128, allocations: 3.953 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.813, allocations: 128.8 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.813, allocations: 0 / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.813, allocations: 6.875 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.813, allocations: 0 / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.033e-05/0.813, allocations: 124.2 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.813, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.8131, allocations: 18.5 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8131, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8131, allocations: 2.938 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8131, allocations: 3.938 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8131, allocations: 0 / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.8132, allocations: 125.8 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.8132, allocations: 10.02 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.8132, allocations: 10.75 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.8133, allocations: 3.984 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.8133, allocations: 10.09 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.8133, allocations: 2.75 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.828e-06/0.8133, allocations: 75.28 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.8133, allocations: 0 / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002021/0.8135, allocations: 14.94 kB / 1.157 GB, free: 30.85 MB / 1.076 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.0001112/0.8136, allocations: 111.4 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.8137, allocations: 70.22 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8137, allocations: 4 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.8138, allocations: 35.12 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.8139, allocations: 2.938 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.8141, allocations: 145.1 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.8141, allocations: 66.25 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.8142, allocations: 34.31 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.8142, allocations: 25.47 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8142, allocations: 0 / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of Templates: time 0.002553/0.8168, allocations: 0.5679 MB / 1.158 GB, free: 30.41 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.262766102096066]