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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=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_latest_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_latest_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.001664/0.001664, allocations: 110 kB / 16.42 MB, free: 6.465 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.001456/0.001455, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.87/2.87, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9816/0.9832, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002063/0.9853, allocations: 0.5853 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.9857, allocations: 59.83 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.9857, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.9858, allocations: 3.938 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.9858, allocations: 4 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.9862, allocations: 7.984 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.9863, allocations: 31.97 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.9863, allocations: 0 / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.9864, allocations: 19.92 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.9864, allocations: 11.98 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.9864, allocations: 4 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.9865, allocations: 15.98 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.9866, allocations: 11.98 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.9866, allocations: 15.88 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.9867, allocations: 35.89 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9868, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9868, allocations: 4 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.9868, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 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.0004146/0.9872, allocations: 335.5 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9873, allocations: 12.03 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.9873, allocations: 8.844 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.9874, allocations: 164.2 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.9874, allocations: 4.375 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.9875, allocations: 4.375 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.9876, allocations: 62.22 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.9876, allocations: 192 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.9877, allocations: 7.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9877, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.9878, allocations: 103.8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.9881, allocations: 177.6 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9882, allocations: 70.55 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.9882, allocations: 29.17 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.9887, allocations: 401.5 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9887, allocations: 42.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.9887, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0002808/0.989, allocations: 121.4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.989, allocations: 55.41 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.9891, allocations: 97.8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.9891, allocations: 29.7 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.9892, allocations: 80.14 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.9892, allocations: 25.53 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.9893, allocations: 29.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9894, allocations: 314.8 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.9894, allocations: 27.92 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.9895, allocations: 24.36 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.9896, allocations: 64.77 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9896, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001536/0.9898, allocations: 93.61 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.9898, allocations: 4 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9898, allocations: 0 / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.9898, allocations: 3.938 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.99, allocations: 19.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.99, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.99, allocations: 15.84 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.99, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 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.000155/0.9902, allocations: 128.9 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.9902, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.9905, allocations: 121.5 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.9905, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9905, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.9905, allocations: 92.94 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.9905, allocations: 8 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.9906, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.9906, allocations: 8 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00021/0.9908, allocations: 184.8 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000247/0.9911, allocations: 267.2 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.999e-05/0.9912, allocations: 32.08 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.9912, allocations: 79.28 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of Backend: time 7.52e-07/0.9912, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000508/0.9917, allocations: 126.2 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004483/0.9922, allocations: 0.5721 MB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.003203/0.9954, allocations: 0.8398 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) 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) Reference file matches