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.001962/0.001962, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002483/0.002483, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.925/2.925, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 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.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.389e-05, allocations: 6.875 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001766/0.0018, allocations: 0.6012 MB / 0.8114 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.002096, allocations: 59.73 kB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.002117, allocations: 0.7812 kB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.002159, allocations: 0 / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.002165, allocations: 1.688 kB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.00245, allocations: 11.98 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.002538, allocations: 31.91 kB / 0.8115 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.002573, allocations: 7.984 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.002615, allocations: 17.52 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.041e-05/0.002645, allocations: 11.92 kB / 0.8116 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.002659, allocations: 0 / 0.8116 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.002756, allocations: 23.97 kB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.002787, allocations: 9.578 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.002825, allocations: 7.984 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.002951, allocations: 43.83 kB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002953, allocations: 0 / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.416e-06/0.002957, allocations: 3.984 kB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002961, allocations: 1.656 kB / 0.8117 GB, free: 1.203 MB / 0.7605 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.0003602/0.003321, allocations: 254.3 kB / 0.8119 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.003361, allocations: 12.03 kB / 0.8119 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.003417, allocations: 12.89 kB / 0.8119 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.003514, allocations: 102.5 kB / 0.812 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.003528, allocations: 8.312 kB / 0.812 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.003543, allocations: 9.344 kB / 0.812 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.003712, allocations: 62.22 kB / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.003724, allocations: 1.344 kB / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.003734, allocations: 384 / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.003743, allocations: 4.375 kB / 0.8121 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.003916, allocations: 101.1 kB / 0.8122 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.004097, allocations: 113.2 kB / 0.8123 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.004233, allocations: 74.34 kB / 0.8124 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.00429, allocations: 28.84 kB / 0.8124 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.00448, allocations: 25.72 kB / 0.8124 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.004519, allocations: 34.56 kB / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.00452, allocations: 0 / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0003049/0.004825, allocations: 121.9 kB / 0.8126 GB, free: 148 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.004869, allocations: 52.59 kB / 0.8126 GB, free: 84 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.004949, allocations: 97.86 kB / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.004969, allocations: 29.64 kB / 0.8128 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.005016, allocations: 84.08 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.005055, allocations: 32.3 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.005113, allocations: 34.27 kB / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.005277, allocations: 314.8 kB / 0.8132 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.005324, allocations: 21.73 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.005363, allocations: 19.98 kB / 0.8132 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.005477, allocations: 57.48 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005478, allocations: 0 / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001806/0.005659, allocations: 104.1 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005674, allocations: 4 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.005678, allocations: 0 / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.005697, allocations: 0 / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.005806, allocations: 23.92 kB / 0.8134 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.005811, allocations: 0 / 0.8134 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.00584, allocations: 11.89 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.005848, allocations: 4.719 kB / 0.8134 GB, free: 15.22 MB / 0.7761 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.000147/0.005995, allocations: 122.4 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.006012, allocations: 5.125 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.006263, allocations: 133.4 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006265, allocations: 0.8125 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006269, allocations: 0 / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.006274, allocations: 3.938 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.006401, allocations: 121.8 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006402, allocations: 0.8438 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.006482, allocations: 19.98 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.006484, allocations: 2.031 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.006492, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006494, allocations: 4 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006495, allocations: 0 / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.006705, allocations: 136.9 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.006712, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.006726, allocations: 4.594 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.006742, allocations: 0 / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.006788, allocations: 18.42 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.006798, allocations: 7.984 kB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.006839, allocations: 75.28 kB / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006839, allocations: 0 / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002068/0.007046, allocations: 12 kB / 0.8141 GB, free: 14.52 MB / 0.7761 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.0001854/0.007232, allocations: 112.7 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.007387, allocations: 67.89 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007389, allocations: 0 / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.00745, allocations: 36.95 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007597, allocations: 7.578 kB / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.007923, allocations: 150.8 kB / 0.8144 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.007997, allocations: 67.34 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.683e-05/0.008084, allocations: 40.7 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.008115, allocations: 14.41 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.008116, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.003232/0.01135, allocations: 0.6079 MB / 0.8151 GB, free: 13.39 MB / 0.7761 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.912466506939381]