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.001185/0.001185, allocations: 113.8 kB / 16.42 MB, free: 6.016 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.001682/0.001682, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.717/2.717, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 71.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001974/1.054, allocations: 0.5853 MB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003067/1.055, allocations: 51.78 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/1.055, allocations: 0 / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/1.055, allocations: 4 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/1.055, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/1.055, allocations: 23.92 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.691e-05/1.055, allocations: 31.97 kB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/1.055, allocations: 0 / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/1.055, allocations: 15.92 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/1.055, allocations: 11.98 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/1.055, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/1.056, allocations: 15.98 kB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/1.056, allocations: 15.98 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/1.056, allocations: 11.92 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/1.056, allocations: 39.89 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.056, allocations: 0 / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.056, allocations: 0 / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.056, allocations: 0 / 1.168 GB, free: 3.043 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.0003729/1.056, allocations: 331.6 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.056, allocations: 20.81 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/1.056, allocations: 8.844 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/1.056, allocations: 172.1 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.056, allocations: 4.375 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/1.056, allocations: 12.38 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/1.057, allocations: 58.23 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.057, allocations: 192 / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.057, allocations: 3.938 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.057, allocations: 3.984 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/1.057, allocations: 103.9 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/1.057, allocations: 169.7 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/1.057, allocations: 74.48 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/1.057, allocations: 40.78 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/1.057, allocations: 405.8 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.057, allocations: 38.48 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/1.057, allocations: 0 / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0002479/1.058, allocations: 117.5 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.058, allocations: 55.41 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/1.058, allocations: 89.86 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.058, allocations: 33.64 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/1.058, allocations: 84.14 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.058, allocations: 21.55 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/1.058, allocations: 33.7 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.058, allocations: 314.8 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/1.058, allocations: 23.92 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/1.058, allocations: 19.98 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.035e-05/1.058, allocations: 56.84 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.058, allocations: 0 / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/1.058, allocations: 93.66 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.058, allocations: 14.75 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.058, allocations: 0 / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.058, allocations: 3.938 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.059, allocations: 23.92 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.059, allocations: 3.984 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/1.059, allocations: 11.84 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/1.059, allocations: 4 kB / 1.17 GB, free: 340 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.0001352/1.059, allocations: 125.8 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/1.059, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.059, allocations: 126.2 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.059, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.059, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/1.059, allocations: 84.95 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.059, allocations: 8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/1.059, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/1.059, allocations: 7.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001695/1.059, allocations: 180.9 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002205/1.06, allocations: 278.8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.353e-05/1.06, allocations: 27.98 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.936e-05/1.06, allocations: 77.75 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Backend: time 9.72e-07/1.06, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004548/1.06, allocations: 122.4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000445/1.061, allocations: 0.5774 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.003327/1.064, allocations: 0.8281 MB / 1.173 GB, free: 13.8 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