Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 254.9 MB / 269.9 MB, free: 9.621 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.001278/0.001278, allocations: 197 kB / 329.5 MB, free: 1.152 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 2.367/2.367, allocations: 225.6 MB / 0.6001 GB, free: 440 kB / 426.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.00104/0.001039, allocations: 112.2 kB / 0.7074 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004986, allocations: 17.12 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.00312/0.225, allocations: 1.409 MB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.2293, allocations: 1.647 MB / 0.9338 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2295, allocations: 3.938 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.2297, allocations: 27.8 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.2299, allocations: 19.84 kB / 0.9338 GB, free: 21.78 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.001447/0.2314, allocations: 251.4 kB / 0.934 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.2318, allocations: 163.5 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2319, allocations: 29.53 kB / 0.9342 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2322, allocations: 71.69 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2323, allocations: 59.75 kB / 0.9344 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.2324, allocations: 4 kB / 0.9344 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.2333, allocations: 235.6 kB / 0.9346 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.2334, allocations: 47.88 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.2335, allocations: 45.64 kB / 0.9347 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.2342, allocations: 259.7 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2342, allocations: 0 / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2342, allocations: 0 / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2342, allocations: 0 / 0.9349 GB, free: 20.63 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.001283/0.2355, allocations: 498.9 kB / 0.9354 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.2356, allocations: 12.02 kB / 0.9354 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.2357, allocations: 20.75 kB / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.2361, allocations: 213.9 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.2362, allocations: 8.375 kB / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.2363, allocations: 20.11 kB / 0.9357 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.2369, allocations: 147.2 kB / 0.9358 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.237, allocations: 0 / 0.9358 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.237, allocations: 3.984 kB / 0.9358 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.237, allocations: 4 kB / 0.9358 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.2375, allocations: 83.91 kB / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.2392, allocations: 408.5 kB / 0.9363 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.2398, allocations: 162.6 kB / 0.9364 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2402, allocations: 64.83 kB / 0.9365 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.2402, allocations: 7.984 kB / 0.9365 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000549/0.2408, allocations: 156.9 kB / 0.9366 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 3.857e-06/0.2408, allocations: 3.938 kB / 0.9367 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.00136/0.2422, allocations: 289.4 kB / 0.9369 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.2423, allocations: 93.05 kB / 0.937 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2425, allocations: 169.5 kB / 0.9372 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.2426, allocations: 33.7 kB / 0.9372 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.2427, allocations: 112.5 kB / 0.9373 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.2428, allocations: 51.34 kB / 0.9374 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.2428, allocations: 4 kB / 0.9374 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.243, allocations: 338.8 kB / 0.9377 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.2433, allocations: 67.94 kB / 0.9378 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.2437, allocations: 171.3 kB / 0.9379 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.2441, allocations: 95.94 kB / 0.938 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2441, allocations: 3.938 kB / 0.938 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001068/0.2452, allocations: 277.1 kB / 0.9383 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.2453, allocations: 8 kB / 0.9383 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2453, allocations: 4 kB / 0.9383 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.2453, allocations: 4 kB / 0.9383 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.2457, allocations: 40.3 kB / 0.9383 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.2457, allocations: 7.984 kB / 0.9383 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.246, allocations: 23.78 kB / 0.9384 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.2461, allocations: 16 kB / 0.9384 GB, free: 16.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.2464, allocations: 143.5 kB / 0.9385 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2465, allocations: 15.81 kB / 0.9385 GB, free: 16.63 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.2465, allocations: 25.86 kB / 0.9386 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2466, allocations: 4 kB / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2466, allocations: 0 / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2466, allocations: 3.938 kB / 0.9386 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.2483, allocations: 0.5645 MB / 0.9391 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2484, allocations: 4 kB / 0.9391 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2487, allocations: 19.92 kB / 0.9391 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2487, allocations: 3.938 kB / 0.9391 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.2487, allocations: 7.984 kB / 0.9391 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.2488, allocations: 4 kB / 0.9392 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2488, allocations: 0 / 0.9392 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.2502, allocations: 416 kB / 0.9396 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.2503, allocations: 92.94 kB / 0.9396 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2504, allocations: 15.94 kB / 0.9397 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2507, allocations: 20.05 kB / 0.9397 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.2508, allocations: 15.97 kB / 0.9397 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.2509, allocations: 8 kB / 0.9397 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001432/0.2511, allocations: 121.8 kB / 0.9398 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2511, allocations: 0 / 0.9398 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001021/0.2521, allocations: 111.8 kB / 0.9399 GB, free: 15.12 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 (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.00173/0.2539, allocations: 494.9 kB / 0.9404 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009788/0.2549, allocations: 179.7 kB / 0.9406 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.255, allocations: 0.75 kB / 0.9406 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.2554, allocations: 95.75 kB / 0.9407 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.2562, allocations: 34.83 kB / 0.9407 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2577, allocations: 395.4 kB / 0.9411 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.258, allocations: 0.7321 MB / 0.9418 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.2583, allocations: 45.5 kB / 0.9418 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.2584, allocations: 15.44 kB / 0.9418 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.342e-06/0.2584, allocations: 3.938 kB / 0.9418 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.01319/0.2716, allocations: 3.127 MB / 0.9449 GB, free: 10.07 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.pipe 2>&1)