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.00916/0.00916, allocations: 111.3 kB / 15.06 MB, free: 5.562 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.001203/0.001203, allocations: 181.6 kB / 15.95 MB, free: 5.523 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 2.36/2.36, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.388/2.388, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004764, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5867, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001913/0.5887, allocations: 1.39 MB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.5913, allocations: 1.633 MB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.5914, allocations: 1.531 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.5916, allocations: 26.92 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.5917, allocations: 26.55 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.5926, allocations: 225.1 kB / 0.6866 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.5928, allocations: 121.8 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.5929, allocations: 24.23 kB / 0.6867 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.5931, allocations: 71.38 kB / 0.6868 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.5932, allocations: 54.73 kB / 0.6868 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.5933, allocations: 3.906 kB / 0.6868 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.5938, allocations: 165.2 kB / 0.687 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.5939, allocations: 57.44 kB / 0.687 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.594, allocations: 47.61 kB / 0.6871 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.5944, allocations: 228.6 kB / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.677e-06/0.5944, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5944, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.264e-06/0.5944, allocations: 3.938 kB / 0.6873 GB, free: 14.19 MB / 0.5261 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.0007548/0.5952, allocations: 497.1 kB / 0.6878 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5952, allocations: 9.703 kB / 0.6878 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.5953, allocations: 20.53 kB / 0.6878 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.5955, allocations: 219.1 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.5956, allocations: 5.344 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.5956, allocations: 13.81 kB / 0.688 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.596, allocations: 141.7 kB / 0.6882 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.596, allocations: 0 / 0.6882 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5961, allocations: 6.453 kB / 0.6882 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5961, allocations: 6.75 kB / 0.6882 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.5964, allocations: 77.39 kB / 0.6883 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.5973, allocations: 415.2 kB / 0.6886 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.5977, allocations: 151.8 kB / 0.6888 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.5978, allocations: 6.938 kB / 0.6888 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.5982, allocations: 161.3 kB / 0.689 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/0.5982, allocations: 1.031 kB / 0.689 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0008549/0.5991, allocations: 299.5 kB / 0.6892 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5991, allocations: 84.88 kB / 0.6893 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.5993, allocations: 165.5 kB / 0.6895 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.5994, allocations: 35.73 kB / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.5994, allocations: 106.4 kB / 0.6896 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.5995, allocations: 48.09 kB / 0.6897 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.5995, allocations: 8.031 kB / 0.6897 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.5996, allocations: 331.5 kB / 0.69 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5998, allocations: 66.23 kB / 0.69 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.6001, allocations: 172 kB / 0.6902 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.6004, allocations: 97.94 kB / 0.6903 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-06/0.6004, allocations: 0 / 0.6903 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006494/0.601, allocations: 268.9 kB / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6011, allocations: 8.812 kB / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.987e-06/0.6011, allocations: 3.438 kB / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6011, allocations: 6.156 kB / 0.6906 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.6013, allocations: 53.23 kB / 0.6906 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.6014, allocations: 5.484 kB / 0.6906 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6015, allocations: 22.92 kB / 0.6907 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.6016, allocations: 13.88 kB / 0.6907 GB, free: 11.77 MB / 0.5261 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.0001744/0.6018, allocations: 155.5 kB / 0.6908 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.6018, allocations: 22.08 kB / 0.6908 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.6019, allocations: 19.69 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-06/0.6019, allocations: 2.375 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.6019, allocations: 6.078 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-06/0.6019, allocations: 4.641 kB / 0.6909 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.603, allocations: 0.5609 MB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.6031, allocations: 1.312 kB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6032, allocations: 16.48 kB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.6032, allocations: 1.125 kB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6033, allocations: 13.73 kB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.126e-06/0.6033, allocations: 2.5 kB / 0.6914 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6033, allocations: 4.594 kB / 0.6915 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.6042, allocations: 432 kB / 0.6919 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.6042, allocations: 96.27 kB / 0.692 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.6043, allocations: 13.08 kB / 0.692 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.6045, allocations: 13.45 kB / 0.692 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.6046, allocations: 14.36 kB / 0.692 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.6046, allocations: 8.969 kB / 0.692 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000122/0.6047, allocations: 121 kB / 0.6921 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.23e-07/0.6048, allocations: 0 / 0.6921 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006237/0.6054, allocations: 88.95 kB / 0.6922 GB, free: 10.74 MB / 0.5261 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.001015/0.6064, allocations: 401.3 kB / 0.6926 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.607, allocations: 186.9 kB / 0.6928 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.059e-06/0.607, allocations: 0.9688 kB / 0.6928 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.6073, allocations: 83.78 kB / 0.6928 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.6076, allocations: 30.3 kB / 0.6929 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.6085, allocations: 384 kB / 0.6932 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.6087, allocations: 0.7293 MB / 0.694 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.6089, allocations: 54.22 kB / 0.694 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.6089, allocations: 22.53 kB / 0.694 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/0.609, allocations: 3.938 kB / 0.694 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of Templates: time 0.008788/0.6178, allocations: 2.847 MB / 0.6968 GB, free: 8.965 MB / 0.5261 GB