Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.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.555/1.555, allocations: 297.4 MB / 312.6 MB, free: 2.898 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.0009174/0.0009174, allocations: 185.5 kB / 382.3 MB, free: 14.78 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.301/1.301, allocations: 225.7 MB / 0.6617 GB, free: 7.195 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.0007733/0.0007734, allocations: 94.48 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 12 kB / 0.9058 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5275, allocations: 119.2 MB / 1.022 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001696/0.5292, allocations: 1.43 MB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.5313, allocations: 2.337 MB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.5313, allocations: 5.031 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.5315, allocations: 22.09 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.5316, allocations: 22.03 kB / 1.026 GB, free: 55.48 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.001011/0.5326, allocations: 282.8 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.5329, allocations: 196.6 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.533, allocations: 30.02 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.5331, allocations: 69.3 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.5332, allocations: 72.22 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.5332, allocations: 5.438 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.5336, allocations: 233.8 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.5337, allocations: 55.27 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.5338, allocations: 87.64 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.5342, allocations: 363.7 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5342, allocations: 0.5625 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5342, allocations: 0 / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.5342, allocations: 0 / 1.027 GB, free: 54.93 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006273/0.5348, allocations: 0.5014 MB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.5349, allocations: 14.78 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.5349, allocations: 17.8 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.5351, allocations: 222 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5351, allocations: 10.92 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.5351, allocations: 13.58 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.5354, allocations: 157.4 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5354, allocations: 2.031 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5355, allocations: 8.328 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5355, allocations: 3.375 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.5357, allocations: 86.94 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.5363, allocations: 437.3 kB / 1.029 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.5366, allocations: 160.2 kB / 1.029 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.5367, allocations: 72.77 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5368, allocations: 2.359 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.537, allocations: 167.8 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.537, allocations: 0.5938 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0005602/0.5376, allocations: 320.3 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.5377, allocations: 97.62 kB / 1.03 GB, free: 53.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.5378, allocations: 165.9 kB / 1.03 GB, free: 53.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5378, allocations: 40.72 kB / 1.03 GB, free: 53.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.5378, allocations: 107.6 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.5379, allocations: 54.39 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.5379, allocations: 7.938 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.538, allocations: 338.5 kB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5381, allocations: 84.92 kB / 1.03 GB, free: 52.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.5383, allocations: 188.3 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.5386, allocations: 269 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5386, allocations: 0 / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004078/0.539, allocations: 303.3 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.539, allocations: 7 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5391, allocations: 1.281 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5391, allocations: 5.125 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.5392, allocations: 49.66 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5392, allocations: 7.875 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5393, allocations: 26.88 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.5394, allocations: 10.84 kB / 1.031 GB, free: 52.27 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: 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.0001112/0.5395, allocations: 159.2 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.5395, allocations: 17.19 kB / 1.031 GB, free: 52.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.5396, allocations: 22.12 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5396, allocations: 7.812 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5396, allocations: 0.9062 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5396, allocations: 2.25 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/0.5403, allocations: 0.5922 MB / 1.032 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5403, allocations: 0 / 1.032 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.5404, allocations: 24.11 kB / 1.032 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5404, allocations: 0 / 1.032 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.5404, allocations: 9.656 kB / 1.032 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5405, allocations: 9.812 kB / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5405, allocations: 2.875 kB / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.541, allocations: 441.7 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.5411, allocations: 91.73 kB / 1.032 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.5411, allocations: 19.67 kB / 1.032 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5412, allocations: 22.38 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.5413, allocations: 13.27 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5413, allocations: 9.938 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.5414, allocations: 126.9 kB / 1.033 GB, free: 51.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5414, allocations: 0 / 1.033 GB, free: 51.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003899/0.5418, allocations: 108.1 kB / 1.033 GB, free: 51.24 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: 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.0007574/0.5425, allocations: 0.5025 MB / 1.033 GB, free: 51.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.5429, allocations: 209.1 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5429, allocations: 0 / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.5431, allocations: 85.64 kB / 1.034 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.5434, allocations: 31.56 kB / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.544, allocations: 439.3 kB / 1.034 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.5442, allocations: 0.7259 MB / 1.035 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000103/0.5443, allocations: 55.03 kB / 1.035 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.5443, allocations: 18.31 kB / 1.035 GB, free: 49.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5443, allocations: 0 / 1.035 GB, free: 49.95 MB / 0.698 GB Notification: Performance of Templates: time 0.005768/0.5501, allocations: 3.295 MB / 1.038 GB, free: 49.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)