Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 174.1 kB / 382.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.7 MB / 0.6617 GB, free: 7.238 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 95.39 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004525, allocations: 9.156 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7491, allocations: 119.2 MB / 1.022 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.00313/0.7523, allocations: 1.411 MB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.7561, allocations: 2.315 MB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.7563, allocations: 5.219 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.7566, allocations: 22.91 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.7568, allocations: 24.17 kB / 1.026 GB, free: 55.59 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.7587, allocations: 261.1 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.7591, allocations: 175.9 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.7592, allocations: 26 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.7594, allocations: 65.95 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.7596, allocations: 64.27 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.7597, allocations: 7.906 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.7603, allocations: 239.6 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.7605, allocations: 39.27 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.7606, allocations: 84.86 kB / 1.027 GB, free: 55.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007856/0.7614, allocations: 349 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7614, allocations: 7.438 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7615, allocations: 0.9688 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7615, allocations: 0 / 1.027 GB, free: 55.06 MB / 0.698 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.001038/0.7625, allocations: 497.6 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.7626, allocations: 9.5 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.7627, allocations: 20.03 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.763, allocations: 222.4 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.763, allocations: 5.5 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.7631, allocations: 18.11 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.7635, allocations: 139.1 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7635, allocations: 0 / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.7635, allocations: 10.75 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7636, allocations: 0.875 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.7639, allocations: 85.61 kB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.7649, allocations: 414.5 kB / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.7654, allocations: 152.1 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.7656, allocations: 69.09 kB / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.7657, allocations: 11.69 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.7661, allocations: 154.7 kB / 1.029 GB, free: 53.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/0.7661, allocations: 2.344 kB / 1.029 GB, free: 53.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009256/0.7671, allocations: 298.3 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.7671, allocations: 86.42 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.7673, allocations: 166.6 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.7674, allocations: 34.59 kB / 1.03 GB, free: 53.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.7674, allocations: 111.4 kB / 1.03 GB, free: 53.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.7675, allocations: 43.52 kB / 1.03 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.7675, allocations: 6.062 kB / 1.03 GB, free: 53.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.7676, allocations: 332.5 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.7678, allocations: 71.06 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.7681, allocations: 168.4 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.7686, allocations: 254.1 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7686, allocations: 0.75 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007265/0.7693, allocations: 275 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.7694, allocations: 9.938 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7694, allocations: 6.5 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.7694, allocations: 5.469 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.7697, allocations: 38.97 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.7697, allocations: 13.84 kB / 1.031 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.7699, allocations: 25.5 kB / 1.031 GB, free: 52.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.7699, allocations: 14.31 kB / 1.031 GB, free: 52.47 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.7701, allocations: 155.2 kB / 1.031 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.7702, allocations: 16.09 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.7703, allocations: 20.09 kB / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.7703, allocations: 7.188 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7703, allocations: 0 / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7703, allocations: 5.75 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.7714, allocations: 0.5617 MB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7714, allocations: 0 / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.7716, allocations: 17.45 kB / 1.032 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7716, allocations: 12.03 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.7716, allocations: 9.594 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.7716, allocations: 0 / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7717, allocations: 3.938 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.7725, allocations: 414.8 kB / 1.032 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.7726, allocations: 89.17 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.7726, allocations: 16.5 kB / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.7728, allocations: 20.39 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.7729, allocations: 10.59 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.773, allocations: 8.391 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001264/0.7731, allocations: 122 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/0.7731, allocations: 0 / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008713/0.774, allocations: 101.3 kB / 1.032 GB, free: 51.46 MB / 0.698 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 (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.001502/0.7755, allocations: 0.5043 MB / 1.033 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.7761, allocations: 187.9 kB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.7761, allocations: 0 / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.7764, allocations: 89.94 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.7769, allocations: 22.25 kB / 1.033 GB, free: 51.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.778, allocations: 429.3 kB / 1.034 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.7782, allocations: 0.7157 MB / 1.034 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.7784, allocations: 47.69 kB / 1.034 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.7784, allocations: 25.47 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/0.7784, allocations: 3.938 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of Templates: time 0.01016/0.7886, allocations: 3.184 MB / 1.037 GB, free: 49.88 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)