Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001257/0.001257, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.001279/0.001279, allocations: 194.7 kB / 20.03 MB, free: 3.012 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.378/1.378, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 490 MB / 0.7695 GB, free: 3.047 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 75.83 kB / 1.104 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9913/0.9933, allocations: 164 MB / 1.264 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00179/0.9952, allocations: 0.5887 MB / 1.264 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.9954, allocations: 57.62 kB / 1.265 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.9954, allocations: 0.7188 kB / 1.265 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.9955, allocations: 0 / 1.265 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-06/0.9955, allocations: 4 kB / 1.265 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.9957, allocations: 18.25 kB / 1.265 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.9958, allocations: 29.81 kB / 1.265 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.9959, allocations: 2.453 kB / 1.265 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.9959, allocations: 15 kB / 1.265 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.9959, allocations: 8.5 kB / 1.265 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.9959, allocations: 1.594 kB / 1.265 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.996, allocations: 19.89 kB / 1.265 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.996, allocations: 19.48 kB / 1.265 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.9961, allocations: 13.33 kB / 1.265 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.9962, allocations: 39.55 kB / 1.265 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.9962, allocations: 0.8125 kB / 1.265 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.22e-07/0.9962, allocations: 0 / 1.265 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.9962, allocations: 1.094 kB / 1.265 GB, free: 7.012 MB / 0.9981 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.0002328/0.9964, allocations: 333.1 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.9965, allocations: 10.38 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.9965, allocations: 6.453 kB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.052e-05/0.9966, allocations: 166.5 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.9966, allocations: 7.031 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.9966, allocations: 3.344 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.9967, allocations: 69.69 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.9967, allocations: 4.172 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.9968, allocations: 5.266 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.9968, allocations: 5.531 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.997, allocations: 100.7 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.9971, allocations: 176 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.9972, allocations: 71.61 kB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.9973, allocations: 35.66 kB / 1.266 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.9975, allocations: 404.6 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.9976, allocations: 35.34 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.9976, allocations: 0 / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002436/0.9978, allocations: 122.8 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.9978, allocations: 53.7 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.565e-05/0.9979, allocations: 96.22 kB / 1.266 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.9979, allocations: 26.22 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.9979, allocations: 85.08 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.9979, allocations: 24.72 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.998, allocations: 31.69 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.998, allocations: 314.2 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.9981, allocations: 19.88 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.9981, allocations: 21.34 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.9982, allocations: 63.41 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9982, allocations: 0 / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001367/0.9984, allocations: 98.22 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.9984, allocations: 9.406 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.9984, allocations: 4.594 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9984, allocations: 1 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.9985, allocations: 22.14 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9986, allocations: 0.8438 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.9986, allocations: 1.469 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.9986, allocations: 3.5 kB / 1.267 GB, free: 4.801 MB / 0.9981 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 9.987e-05/0.9987, allocations: 124.2 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.9987, allocations: 10.55 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.9989, allocations: 131.5 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.999, allocations: 1.438 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.999, allocations: 0.6562 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.999, allocations: 4.75 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.552e-05/0.9991, allocations: 173.8 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9991, allocations: 0.7812 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.9992, allocations: 18.17 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9992, allocations: 4.688 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.9992, allocations: 10.17 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9992, allocations: 8.5 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9992, allocations: 0.7969 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.9994, allocations: 121 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.9994, allocations: 83.3 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9994, allocations: 1.547 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.589e-05/0.9994, allocations: 5.766 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.9995, allocations: 6.922 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.9995, allocations: 7.672 kB / 1.268 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.9995, allocations: 75.28 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9995, allocations: 0 / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001936/0.9997, allocations: 15.45 kB / 1.268 GB, free: 4.105 MB / 0.9981 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.000162/0.9999, allocations: 119.4 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001432/1, allocations: 60.5 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1, allocations: 0.7812 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/1, allocations: 39.48 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/1, allocations: 7.656 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/1, allocations: 176.5 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.001, allocations: 0.6815 MB / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/1.001, allocations: 15.36 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.001, allocations: 0.7188 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of Templates: time 0.002936/1.004, allocations: 0.9648 MB / 1.27 GB, free: 3.031 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.198194695985876]