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.001434/0.001434, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.002156/0.002156, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.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 3.134/3.134, allocations: 0.4899 GB / 0.7915 GB, free: 33.22 MB / 0.6231 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.002157/0.002157, allocations: 72.38 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001834/0.347, allocations: 0.5943 MB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.3472, allocations: 55.77 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.3473, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.3473, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.3473, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.3476, allocations: 23.92 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.3477, allocations: 31.97 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.3477, allocations: 3.984 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.3477, allocations: 12 kB / 1.322 GB, free: 2.027 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.121e-05/0.3478, allocations: 11.98 kB / 1.322 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3478, allocations: 0 / 1.322 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.3479, allocations: 19.97 kB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.3479, allocations: 15.94 kB / 1.322 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.3479, allocations: 11.92 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.348, allocations: 35.83 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.348, allocations: 0 / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.348, allocations: 0 / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.348, allocations: 0 / 1.322 GB, free: 1.934 MB / 1.014 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.0003963/0.3484, allocations: 351.4 kB / 1.322 GB, free: 1.539 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3485, allocations: 11.97 kB / 1.322 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3485, allocations: 0.9375 kB / 1.322 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3486, allocations: 164.4 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.3486, allocations: 384 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3486, allocations: 8.375 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3488, allocations: 62.22 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3488, allocations: 192 / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3488, allocations: 3.938 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3488, allocations: 7.938 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.349, allocations: 107.8 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.3492, allocations: 177.6 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3493, allocations: 66.55 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.3494, allocations: 29.19 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.3498, allocations: 405.5 kB / 1.323 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3498, allocations: 34.55 kB / 1.323 GB, free: 284 kB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 3.226e-06/0.3498, allocations: 4 kB / 1.323 GB, free: 280 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002595/0.35, allocations: 117.8 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3501, allocations: 55.41 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.3502, allocations: 97.84 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3502, allocations: 25.7 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.3502, allocations: 80.14 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3503, allocations: 23.84 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.3503, allocations: 33.7 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3505, allocations: 314.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.3505, allocations: 23.98 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.3505, allocations: 19.98 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.3507, allocations: 61.42 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3507, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001637/0.3508, allocations: 101.5 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3508, allocations: 4 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3508, allocations: 3.938 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3509, allocations: 4 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.351, allocations: 15.98 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.351, allocations: 8 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.351, allocations: 3.938 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.351, allocations: 4 kB / 1.324 GB, free: 15.23 MB / 1.029 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.0001372/0.3511, allocations: 135.9 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.3511, allocations: 3.953 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3514, allocations: 125.5 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3514, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3514, allocations: 7.984 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3514, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3515, allocations: 169.6 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3515, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.3516, allocations: 19.98 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3516, allocations: 7.875 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3516, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3516, allocations: 4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3516, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3518, allocations: 121 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.3519, allocations: 92.94 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3519, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.3519, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3519, allocations: 7.984 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3519, allocations: 11.94 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.352, allocations: 75.28 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.352, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002047/0.3522, allocations: 15.98 kB / 1.325 GB, free: 14.34 MB / 1.029 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.3524, allocations: 118.1 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3525, allocations: 59.95 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3525, allocations: 0 / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.3526, allocations: 35.86 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3527, allocations: 8 kB / 1.325 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.353, allocations: 157.4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3533, allocations: 0.6846 MB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.3534, allocations: 31.95 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3534, allocations: 19.42 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3534, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of Templates: time 0.003029/0.3565, allocations: 0.6057 MB / 1.327 GB, free: 12.57 MB / 1.029 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: 8.61872785212472]