Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004299/0.004304, allocations: 233.5 kB / 15.8 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001744/0.001744, allocations: 178.4 kB / 16.68 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.903/3.903, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.652/4.652, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005137, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1893, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002156/0.1915, allocations: 1.396 MB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1945, allocations: 1.631 MB / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1947, allocations: 0 / 1.108 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1949, allocations: 23.8 kB / 1.108 GB, free: 39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1951, allocations: 19.8 kB / 1.108 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.196, allocations: 232.2 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1963, allocations: 155.6 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1965, allocations: 28.25 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1966, allocations: 63.7 kB / 1.108 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1968, allocations: 61.31 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1968, allocations: 8 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.1974, allocations: 191.5 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1975, allocations: 43.88 kB / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.1976, allocations: 46.33 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.198, allocations: 231.8 kB / 1.109 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.198, allocations: 3.438 kB / 1.109 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.198, allocations: 4 kB / 1.109 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1981, allocations: 0 / 1.109 GB, free: 37.94 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009661/0.199, allocations: 491 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1991, allocations: 12.03 kB / 1.109 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.1992, allocations: 15.81 kB / 1.109 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1994, allocations: 210.8 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1995, allocations: 7.984 kB / 1.109 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.1995, allocations: 24.88 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.1999, allocations: 142.8 kB / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1999, allocations: 0 / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2, allocations: 4 kB / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2, allocations: 0 / 1.109 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.2003, allocations: 87.88 kB / 1.11 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2014, allocations: 411.8 kB / 1.11 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.2019, allocations: 155.4 kB / 1.11 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.2021, allocations: 72.77 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.2021, allocations: 1.094 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.2025, allocations: 156.6 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.996e-06/0.2026, allocations: 0 / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009098/0.2035, allocations: 300.7 kB / 1.111 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2035, allocations: 85.09 kB / 1.111 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2037, allocations: 162.6 kB / 1.111 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2038, allocations: 33.7 kB / 1.111 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.2038, allocations: 123.8 kB / 1.111 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.2039, allocations: 43.45 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.2039, allocations: 4 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.204, allocations: 330.8 kB / 1.111 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2042, allocations: 67.95 kB / 1.111 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.2045, allocations: 176.8 kB / 1.112 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.2048, allocations: 102.1 kB / 1.112 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2048, allocations: 4 kB / 1.112 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006576/0.2055, allocations: 275.4 kB / 1.112 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2055, allocations: 11.03 kB / 1.112 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2055, allocations: 0 / 1.112 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.2056, allocations: 8 kB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2059, allocations: 43.91 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2059, allocations: 7.938 kB / 1.112 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2061, allocations: 19.84 kB / 1.112 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2061, allocations: 15.31 kB / 1.112 GB, free: 34.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.ran.firstTrigger,ran.firstTrigger,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$whenCondition1,ran.sampleTrigger,$PRE.ran.uRWri[1],ran.uRWri[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.2063, allocations: 149.5 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.2064, allocations: 19.77 kB / 1.112 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.2064, allocations: 17.88 kB / 1.112 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2064, allocations: 7.922 kB / 1.112 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2065, allocations: 5.688 kB / 1.112 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.2065, allocations: 96.86 kB / 1.112 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.2066, allocations: 7.984 kB / 1.112 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2067, allocations: 19.3 kB / 1.112 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2068, allocations: 11.98 kB / 1.112 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007688/0.2076, allocations: 397.3 kB / 1.113 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009604/0.2086, allocations: 0.5711 MB / 1.113 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002438/0.2088, allocations: 86.28 kB / 1.113 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.785e-05/0.209, allocations: 123.7 kB / 1.114 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of Backend: time 9.52e-07/0.209, allocations: 0 / 1.114 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.2108, allocations: 493.3 kB / 1.114 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008105/0.2117, allocations: 0.7734 MB / 1.115 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.009416/0.2211, allocations: 3.033 MB / 1.118 GB, free: 28.64 MB / 0.6042 GB