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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 115.4 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 68.03 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001865/1.03, allocations: 0.5751 MB / 1.168 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000319/1.031, allocations: 51.8 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/1.031, allocations: 0 / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/1.031, allocations: 7.938 kB / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/1.031, allocations: 0 / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/1.031, allocations: 19.97 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/1.031, allocations: 31.97 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/1.031, allocations: 4 kB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/1.031, allocations: 19.91 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/1.032, allocations: 4 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/1.032, allocations: 4 kB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/1.032, allocations: 15.98 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/1.032, allocations: 15.97 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/1.032, allocations: 11.94 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/1.032, allocations: 31.89 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.032, allocations: 7.938 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.032, allocations: 4 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.032, allocations: 0 / 1.168 GB, free: 3.113 MB / 0.8887 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.0004148/1.032, allocations: 343.8 kB / 1.168 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.032, allocations: 16.56 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/1.032, allocations: 4.938 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.033, allocations: 164.3 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/1.033, allocations: 8.375 kB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/1.033, allocations: 4.375 kB / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/1.033, allocations: 62.22 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.033, allocations: 8.188 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/1.033, allocations: 7.922 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.033, allocations: 0 / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/1.033, allocations: 103.8 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/1.033, allocations: 173.6 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/1.033, allocations: 70.55 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/1.033, allocations: 33.17 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/1.034, allocations: 405.5 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.034, allocations: 42.5 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/1.034, allocations: 0 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0002673/1.034, allocations: 113.5 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/1.034, allocations: 51.41 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/1.034, allocations: 101.8 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/1.034, allocations: 25.7 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/1.034, allocations: 80.14 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/1.034, allocations: 27.78 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/1.034, allocations: 33.72 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.034, allocations: 314.8 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/1.034, allocations: 23.92 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/1.035, allocations: 20.42 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.637e-05/1.035, allocations: 64.98 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.035, allocations: 3.938 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001389/1.035, allocations: 93.61 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.035, allocations: 4 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.035, allocations: 4 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.035, allocations: 3.938 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.035, allocations: 19.98 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.035, allocations: 3.984 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/1.035, allocations: 7.953 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/1.035, allocations: 0 / 1.17 GB, free: 416 kB / 0.8887 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.0001349/1.035, allocations: 127.4 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/1.035, allocations: 4 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/1.035, allocations: 129.5 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.035, allocations: 0 / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.035, allocations: 0 / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/1.035, allocations: 89 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.035, allocations: 3.984 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/1.035, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/1.036, allocations: 8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001926/1.036, allocations: 180.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002037/1.036, allocations: 270.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.348e-05/1.036, allocations: 32.42 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.781e-05/1.036, allocations: 77.75 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of Backend: time 2.61e-07/1.036, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004362/1.036, allocations: 132.7 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003873/1.037, allocations: 0.5643 MB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of Templates: time 0.003373/1.04, allocations: 0.8222 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches