Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 255.9 MB / 271.2 MB, free: 8.914 MB / 218.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.00096/0.00096, allocations: 184.2 kB / 330.8 MB, free: 492 kB / 250.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.28/1.28, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.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.0007009/0.0007009, allocations: 103.5 kB / 0.709 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 7.625 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.001413/0.1442, allocations: 1.409 MB / 0.9341 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1459, allocations: 2.308 MB / 0.9364 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.146, allocations: 4 kB / 0.9364 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1461, allocations: 19.86 kB / 0.9364 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.1462, allocations: 11.86 kB / 0.9364 GB, free: 20.19 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.000865/0.1471, allocations: 287.2 kB / 0.9367 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1473, allocations: 175.5 kB / 0.9369 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.1473, allocations: 21.55 kB / 0.9369 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.1474, allocations: 71.7 kB / 0.937 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.1475, allocations: 63.67 kB / 0.937 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1475, allocations: 4 kB / 0.937 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1478, allocations: 235.6 kB / 0.9372 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1479, allocations: 47.81 kB / 0.9373 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.148, allocations: 77.38 kB / 0.9374 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.1483, allocations: 355.3 kB / 0.9377 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1483, allocations: 4 kB / 0.9377 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1483, allocations: 0 / 0.9377 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.1483, allocations: 0 / 0.9377 GB, free: 18.87 MB / 0.5886 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.0005413/0.1488, allocations: 498.9 kB / 0.9382 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.1489, allocations: 11.98 kB / 0.9382 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.1489, allocations: 20.75 kB / 0.9382 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.149, allocations: 221.5 kB / 0.9384 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1491, allocations: 12.36 kB / 0.9384 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1491, allocations: 16.12 kB / 0.9385 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1493, allocations: 139.2 kB / 0.9386 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.1493, allocations: 0 / 0.9386 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1494, allocations: 8 kB / 0.9386 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1494, allocations: 4 kB / 0.9386 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1495, allocations: 79.94 kB / 0.9387 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.1501, allocations: 416.5 kB / 0.9391 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1504, allocations: 150.6 kB / 0.9392 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1505, allocations: 72.81 kB / 0.9393 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1505, allocations: 4 kB / 0.9393 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1507, allocations: 156.9 kB / 0.9394 GB, free: 16.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.1507, allocations: 3.938 kB / 0.9394 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004802/0.1512, allocations: 293.4 kB / 0.9397 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.1513, allocations: 92.94 kB / 0.9398 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.1514, allocations: 165.2 kB / 0.94 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1514, allocations: 37.83 kB / 0.94 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.1514, allocations: 112.5 kB / 0.9401 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1515, allocations: 51.36 kB / 0.9402 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.1515, allocations: 0 / 0.9402 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.1515, allocations: 330.8 kB / 0.9405 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1516, allocations: 71.95 kB / 0.9405 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1518, allocations: 170.8 kB / 0.9407 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1521, allocations: 247.8 kB / 0.9409 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1521, allocations: 0 / 0.9409 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003402/0.1524, allocations: 277.1 kB / 0.9412 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1525, allocations: 8.375 kB / 0.9412 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1525, allocations: 11.98 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1525, allocations: 7.984 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1526, allocations: 39.92 kB / 0.9413 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1526, allocations: 7.938 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.1527, allocations: 35.77 kB / 0.9413 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1528, allocations: 8 kB / 0.9413 GB, free: 14.84 MB / 0.5886 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 8.927e-05/0.1528, allocations: 148.7 kB / 0.9415 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1529, allocations: 15.81 kB / 0.9415 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.1529, allocations: 21.86 kB / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1529, allocations: 4 kB / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1529, allocations: 0 / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1529, allocations: 3.938 kB / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.1535, allocations: 0.5651 MB / 0.9421 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1535, allocations: 0 / 0.9421 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.1536, allocations: 15.98 kB / 0.9421 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1536, allocations: 3.938 kB / 0.9421 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1537, allocations: 8 kB / 0.9421 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1537, allocations: 4 kB / 0.9421 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1537, allocations: 0 / 0.9421 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.1541, allocations: 427.2 kB / 0.9425 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1542, allocations: 97.02 kB / 0.9426 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1542, allocations: 15.86 kB / 0.9426 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1543, allocations: 15.98 kB / 0.9426 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1544, allocations: 11.98 kB / 0.9426 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1544, allocations: 15.98 kB / 0.9426 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.1545, allocations: 114.3 kB / 0.9428 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1545, allocations: 0 / 0.9428 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000322/0.1548, allocations: 107.9 kB / 0.9429 GB, free: 13.16 MB / 0.5886 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.0006499/0.1554, allocations: 498.5 kB / 0.9433 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1558, allocations: 188.1 kB / 0.9435 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1558, allocations: 0 / 0.9435 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.1559, allocations: 79.89 kB / 0.9436 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1562, allocations: 27.92 kB / 0.9436 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.1567, allocations: 411.6 kB / 0.944 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1569, allocations: 0.7283 MB / 0.9447 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.11e-05/0.157, allocations: 53.45 kB / 0.9448 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.157, allocations: 23.38 kB / 0.9448 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.157, allocations: 4 kB / 0.9448 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of Templates: time 0.004718/0.1617, allocations: 3.183 MB / 0.9479 GB, free: 8.055 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)