Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.536/1.536, allocations: 292.6 MB / 307.8 MB, free: 7.102 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.00104/0.00104, allocations: 188.6 kB / 376.5 MB, free: 4.422 MB / 298.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.266/1.266, allocations: 225.7 MB / 0.655 GB, free: 13.04 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.0007685/0.0007685, allocations: 93.66 kB / 0.7711 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12.97 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5281, allocations: 118.2 MB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001923/0.5301, allocations: 1.415 MB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.5323, allocations: 1.696 MB / 1.015 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.5324, allocations: 0 / 1.015 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.5326, allocations: 23.33 kB / 1.015 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.5328, allocations: 25.5 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.001025/0.5338, allocations: 264.4 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.5341, allocations: 182.6 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.5342, allocations: 28.45 kB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.5343, allocations: 79.23 kB / 1.016 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.5345, allocations: 62.89 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.5345, allocations: 6.844 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.535, allocations: 238.3 kB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.5351, allocations: 50.73 kB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.5352, allocations: 91.39 kB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.5356, allocations: 255 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5356, allocations: 0 / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5356, allocations: 0 / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.5356, allocations: 0 / 1.017 GB, free: 57.07 MB / 0.7136 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.0006649/0.5363, allocations: 0.5037 MB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.5363, allocations: 11.62 kB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.5364, allocations: 18.56 kB / 1.017 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.5366, allocations: 221.1 kB / 1.017 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5366, allocations: 16.2 kB / 1.017 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.5366, allocations: 16 kB / 1.017 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.5369, allocations: 154.5 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5369, allocations: 0.625 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.5369, allocations: 9.766 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.537, allocations: 2.844 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.5372, allocations: 90.39 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.5379, allocations: 431.8 kB / 1.018 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.5382, allocations: 159.5 kB / 1.018 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5383, allocations: 72.53 kB / 1.018 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5384, allocations: 4.75 kB / 1.018 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.5386, allocations: 173.7 kB / 1.018 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.5386, allocations: 0 / 1.018 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0006036/0.5392, allocations: 320 kB / 1.019 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5393, allocations: 91.58 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5394, allocations: 167.5 kB / 1.019 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5394, allocations: 42.52 kB / 1.019 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.5395, allocations: 110.1 kB / 1.019 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.5395, allocations: 59.42 kB / 1.019 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.5396, allocations: 3.938 kB / 1.019 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.5396, allocations: 337.2 kB / 1.02 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.5398, allocations: 81.09 kB / 1.02 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.5399, allocations: 185.1 kB / 1.02 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.5403, allocations: 269.2 kB / 1.02 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5403, allocations: 2.375 kB / 1.02 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004173/0.5407, allocations: 304.7 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5407, allocations: 8.375 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5407, allocations: 3.297 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5407, allocations: 5.156 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5409, allocations: 41.61 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5409, allocations: 12.73 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.541, allocations: 26.84 kB / 1.02 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.541, allocations: 13.11 kB / 1.02 GB, free: 54.95 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5412, allocations: 157.7 kB / 1.021 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.5412, allocations: 17.81 kB / 1.021 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.5412, allocations: 20.64 kB / 1.021 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5412, allocations: 4.375 kB / 1.021 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5412, allocations: 7.438 kB / 1.021 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5413, allocations: 4.266 kB / 1.021 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.542, allocations: 0.5913 MB / 1.021 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.542, allocations: 0 / 1.021 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/0.5421, allocations: 19.38 kB / 1.021 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5421, allocations: 0 / 1.021 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.5421, allocations: 12.62 kB / 1.021 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5421, allocations: 3.938 kB / 1.021 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5421, allocations: 2.344 kB / 1.021 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.5427, allocations: 446.9 kB / 1.022 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.5427, allocations: 93.8 kB / 1.022 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.5428, allocations: 15 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5429, allocations: 24.94 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.543, allocations: 8.578 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.543, allocations: 11 kB / 1.022 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.5431, allocations: 122.9 kB / 1.022 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5431, allocations: 0 / 1.022 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004009/0.5435, allocations: 109.8 kB / 1.022 GB, free: 54.14 MB / 0.7136 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 (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.0007712/0.5443, allocations: 0.5059 MB / 1.023 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.5446, allocations: 202.3 kB / 1.023 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5446, allocations: 0 / 1.023 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5448, allocations: 95.5 kB / 1.023 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.5451, allocations: 25.7 kB / 1.023 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.5458, allocations: 429.1 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5459, allocations: 0.7296 MB / 1.024 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.546, allocations: 45.8 kB / 1.024 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.5461, allocations: 21.38 kB / 1.024 GB, free: 53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5461, allocations: 0 / 1.024 GB, free: 53 MB / 0.7136 GB Notification: Performance of Templates: time 0.00581/0.5519, allocations: 3.251 MB / 1.027 GB, free: 52.76 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)