Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002532/0.002531, allocations: 189 kB / 16.25 MB, free: 6.621 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.678/2.678, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 72.08 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6956, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002637/0.6982, allocations: 1.602 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003925/0.6987, allocations: 132.5 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.6987, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.6988, allocations: 7.922 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.6988, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.6991, allocations: 27.98 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.6992, allocations: 35.91 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.6993, allocations: 19.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.6994, allocations: 11.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.6994, allocations: 19.92 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.6994, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.6995, allocations: 23.97 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.6996, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.6996, allocations: 15.88 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.6997, allocations: 43.88 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6997, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6998, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6998, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005517/0.7003, allocations: 357.4 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7004, allocations: 12.03 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.7004, allocations: 4.844 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7005, allocations: 168.3 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.7006, allocations: 384 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.7006, allocations: 8.375 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.7008, allocations: 62.22 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.7008, allocations: 192 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.7008, allocations: 7.938 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7008, allocations: 4 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.701, allocations: 47.89 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.7014, allocations: 276.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.7017, allocations: 54.55 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.797e-05/0.7018, allocations: 28.89 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.7021, allocations: 401.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.7021, allocations: 38.44 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7022, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003893/0.7026, allocations: 93.62 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.7026, allocations: 59.41 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.7027, allocations: 113.8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.7027, allocations: 25.7 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.7028, allocations: 84.14 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.7028, allocations: 11.84 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.7028, allocations: 25.7 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7029, allocations: 314.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.703, allocations: 23.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.7031, allocations: 11.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.7033, allocations: 52.75 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7033, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002121/0.7035, allocations: 77.66 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7036, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7036, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7036, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.7037, allocations: 11.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7037, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.7037, allocations: 12.25 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7038, allocations: 8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.528e-05/0.7039, allocations: 122.2 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.7039, allocations: 11.89 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.7042, allocations: 77.55 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7042, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7042, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7042, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7044, allocations: 177.6 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7044, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.7044, allocations: 8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7045, allocations: 3.984 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.7045, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7045, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7045, allocations: 3.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.7048, allocations: 179.4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.7048, allocations: 85.02 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.7048, allocations: 3.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.7049, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.705, allocations: 3.984 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.705, allocations: 8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.705, allocations: 83.58 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.705, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002301/0.7053, allocations: 12 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001441/0.7054, allocations: 107.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.7057, allocations: 51.89 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7057, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.7058, allocations: 23.97 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.7061, allocations: 14.27 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.7064, allocations: 125.6 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7066, allocations: 0.6768 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.7067, allocations: 12.2 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.7067, allocations: 11.44 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7067, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.00297/0.7097, allocations: 0.6826 MB / 1.023 GB, free: 11.47 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches