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.01075/0.01075, allocations: 223.7 kB / 15.17 MB, free: 5.926 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.00112/0.00112, allocations: 181.7 kB / 16.06 MB, free: 5.828 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.703/3.703, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.437/4.437, allocations: 472.3 MB / 0.9017 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004833, allocations: 15.98 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6444, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003171/0.6476, allocations: 1.398 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.6518, allocations: 1.622 MB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.652, allocations: 6.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.6522, allocations: 24.67 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.6524, allocations: 15.89 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.6536, allocations: 228.2 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.6539, allocations: 168.7 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.6541, allocations: 19.22 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.6543, allocations: 64.94 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.6545, allocations: 62.48 kB / 1.108 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.6546, allocations: 4.188 kB / 1.108 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.6553, allocations: 195.4 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.6554, allocations: 52.3 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.6555, allocations: 50.19 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.6561, allocations: 229.2 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.053e-06/0.6561, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.924e-06/0.6561, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.546e-06/0.6562, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 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.00115/0.6573, allocations: 496 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6574, allocations: 11.78 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.6575, allocations: 21.95 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.6578, allocations: 216.4 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.6579, allocations: 8.062 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.658, allocations: 8.625 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.6585, allocations: 144.2 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6586, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.6586, allocations: 6.25 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-06/0.6587, allocations: 2.156 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.6592, allocations: 86.31 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.6607, allocations: 410.1 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.6614, allocations: 146.7 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.6618, allocations: 73.03 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6618, allocations: 6.547 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.6624, allocations: 157.8 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 4.878e-06/0.6625, allocations: 1.656 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001461/0.6639, allocations: 296.6 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.664, allocations: 89.55 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.6643, allocations: 162.3 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.6644, allocations: 37.17 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.6645, allocations: 106.1 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.6646, allocations: 51.73 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.6646, allocations: 5.219 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.6647, allocations: 328.8 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.6651, allocations: 73.42 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.6656, allocations: 171.5 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.666, allocations: 104.6 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6661, allocations: 1.219 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001148/0.6672, allocations: 274.3 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.6673, allocations: 5.75 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.6673, allocations: 8.812 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.6674, allocations: 10.95 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.6678, allocations: 37.94 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.6678, allocations: 8.625 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.6681, allocations: 28.88 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.6682, allocations: 16.81 kB / 1.111 GB, free: 208.1 MB / 0.7292 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.0002468/0.6685, allocations: 144 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.6686, allocations: 19.66 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.6687, allocations: 17.59 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.604e-06/0.6687, allocations: 2.438 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6687, allocations: 3.953 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.655e-06/0.6687, allocations: 3.172 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.6706, allocations: 0.5637 MB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6706, allocations: 1.031 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.6709, allocations: 18.42 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.6709, allocations: 5.453 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.671, allocations: 8.891 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.143e-06/0.671, allocations: 4.688 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.861e-06/0.671, allocations: 0 / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.6725, allocations: 422.5 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.6725, allocations: 94.03 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.6726, allocations: 10.92 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.673, allocations: 16.8 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.6731, allocations: 16.03 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.6732, allocations: 8.688 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001623/0.6734, allocations: 121.6 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.32e-06/0.6734, allocations: 0 / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001053/0.6745, allocations: 92.67 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ran.uRInt[1],kalFil.uRInt[1]) * Number of discrete variables: 13 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition3) * Number of discrete states: 2 (kalFil.uR[1],ran.uR[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.6761, allocations: 405.8 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009231/0.677, allocations: 182.8 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.918e-06/0.6771, allocations: 3.938 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.6775, allocations: 83.22 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.6783, allocations: 32.52 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.6797, allocations: 400.5 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.68, allocations: 0.7251 MB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.6803, allocations: 47.06 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.6804, allocations: 17.25 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.992e-06/0.6804, allocations: 0 / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.01438/0.6948, allocations: 2.853 MB / 1.118 GB, free: 205.9 MB / 0.7292 GB