Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.25/1.25, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.0009538/0.0009537, allocations: 189.9 kB / 330.8 MB, free: 0.4922 MB / 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.323/1.323, allocations: 225.7 MB / 0.6016 GB, free: 15.96 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.0007127/0.0007128, allocations: 101.4 kB / 0.709 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002845, allocations: 8.188 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 109.2 MB / 0.9327 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001464/0.1517, allocations: 1.433 MB / 0.9341 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1536, allocations: 2.335 MB / 0.9364 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1536, allocations: 3.938 kB / 0.9364 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1538, allocations: 19.86 kB / 0.9364 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1539, allocations: 19.86 kB / 0.9365 GB, free: 20.18 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.1548, allocations: 285.2 kB / 0.9367 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.155, allocations: 203.5 kB / 0.9369 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.374e-05/0.1551, allocations: 17.56 kB / 0.937 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.1552, allocations: 71.69 kB / 0.937 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.1553, allocations: 75.67 kB / 0.9371 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1553, allocations: 4 kB / 0.9371 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1556, allocations: 235.5 kB / 0.9373 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.1557, allocations: 59.8 kB / 0.9374 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.1558, allocations: 85.3 kB / 0.9375 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1561, allocations: 359.4 kB / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1561, allocations: 0 / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1561, allocations: 4 kB / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.1561, allocations: 0 / 0.9378 GB, free: 18.81 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005807/0.1567, allocations: 0.4951 MB / 0.9383 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1568, allocations: 15.97 kB / 0.9383 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1568, allocations: 24.75 kB / 0.9383 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.157, allocations: 225.8 kB / 0.9385 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.157, allocations: 16.31 kB / 0.9386 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.157, allocations: 15.98 kB / 0.9386 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1573, allocations: 147.3 kB / 0.9387 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1573, allocations: 3.984 kB / 0.9387 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1573, allocations: 7.984 kB / 0.9387 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1573, allocations: 4 kB / 0.9387 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1575, allocations: 91.88 kB / 0.9388 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.1582, allocations: 428.7 kB / 0.9392 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1584, allocations: 154.5 kB / 0.9394 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1585, allocations: 72.81 kB / 0.9394 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1586, allocations: 4 kB / 0.9394 GB, free: 16.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1588, allocations: 173.2 kB / 0.9396 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1588, allocations: 0 / 0.9396 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0005236/0.1593, allocations: 324.6 kB / 0.9399 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1594, allocations: 85.11 kB / 0.94 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.1595, allocations: 172.6 kB / 0.9402 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1595, allocations: 37.69 kB / 0.9402 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.1595, allocations: 124.4 kB / 0.9403 GB, free: 16.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1596, allocations: 51.34 kB / 0.9404 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.1596, allocations: 8 kB / 0.9404 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.1596, allocations: 330.8 kB / 0.9407 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1598, allocations: 80.5 kB / 0.9408 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1599, allocations: 190.9 kB / 0.941 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1602, allocations: 271.7 kB / 0.9412 GB, free: 15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1602, allocations: 0 / 0.9412 GB, free: 15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003748/0.1606, allocations: 301 kB / 0.9415 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1606, allocations: 8 kB / 0.9415 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1606, allocations: 4.375 kB / 0.9415 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1607, allocations: 8 kB / 0.9415 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1608, allocations: 47.97 kB / 0.9416 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1608, allocations: 8 kB / 0.9416 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.1609, allocations: 27.75 kB / 0.9416 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1609, allocations: 19.92 kB / 0.9416 GB, free: 14.58 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: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000104/0.1611, allocations: 160.5 kB / 0.9418 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1611, allocations: 15.81 kB / 0.9418 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1611, allocations: 21.86 kB / 0.9418 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1611, allocations: 4 kB / 0.9418 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1611, allocations: 0 / 0.9418 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1612, allocations: 0 / 0.9418 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.1618, allocations: 0.588 MB / 0.9424 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1618, allocations: 0 / 0.9424 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/0.1619, allocations: 15.98 kB / 0.9424 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1619, allocations: 4 kB / 0.9424 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1619, allocations: 11.98 kB / 0.9424 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1619, allocations: 3.938 kB / 0.9424 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.162, allocations: 0 / 0.9424 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.1625, allocations: 454.6 kB / 0.9429 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.1625, allocations: 92.89 kB / 0.9429 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1625, allocations: 27.97 kB / 0.943 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1627, allocations: 11.98 kB / 0.943 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1627, allocations: 15.98 kB / 0.943 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1627, allocations: 11.98 kB / 0.943 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.1628, allocations: 119.2 kB / 0.9431 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1628, allocations: 0 / 0.9431 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003365/0.1631, allocations: 115.9 kB / 0.9432 GB, free: 12.84 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006917/0.1638, allocations: 490.4 kB / 0.9437 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.1642, allocations: 209.1 kB / 0.9439 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1642, allocations: 4.25 kB / 0.9439 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1643, allocations: 91.89 kB / 0.944 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1646, allocations: 27.91 kB / 0.944 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.1652, allocations: 440.7 kB / 0.9444 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1653, allocations: 0.7284 MB / 0.9451 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.1654, allocations: 45.5 kB / 0.9452 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1654, allocations: 15.44 kB / 0.9452 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.1654, allocations: 4 kB / 0.9452 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.004883/0.1703, allocations: 3.293 MB / 0.9484 GB, free: 7.57 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)