Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.665/1.665, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.0009975/0.0009977, allocations: 179.5 kB / 393.1 MB, free: 4.094 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.267/1.267, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007689/0.0007688, allocations: 94.06 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.000361, allocations: 8 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5633, allocations: 121.3 MB / 1.041 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.001973/0.5653, allocations: 1.427 MB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.5683, allocations: 2.341 MB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.5685, allocations: 3.938 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.5687, allocations: 20.55 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.5689, allocations: 23.36 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.5705, allocations: 273.9 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.5708, allocations: 204.5 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.5709, allocations: 24.14 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.5711, allocations: 74.45 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.5713, allocations: 68.39 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.5714, allocations: 8.469 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.5719, allocations: 237.1 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.572, allocations: 54.33 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.5721, allocations: 86.42 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.5727, allocations: 363.1 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5727, allocations: 3.938 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5727, allocations: 0 / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.5727, allocations: 0.5 kB / 1.046 GB, free: 54.49 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.0008015/0.5735, allocations: 0.4886 MB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5736, allocations: 15.84 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.5737, allocations: 18.34 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.5739, allocations: 226.8 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.5739, allocations: 13.81 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.574, allocations: 17.42 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.5743, allocations: 155.8 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5743, allocations: 0.625 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.5744, allocations: 4.5 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5744, allocations: 1.25 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.5746, allocations: 92.84 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.5755, allocations: 433.4 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.5758, allocations: 153.6 kB / 1.047 GB, free: 53.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.5759, allocations: 78.69 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.576, allocations: 1.719 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.5763, allocations: 167.8 kB / 1.048 GB, free: 53.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.5763, allocations: 0.7812 kB / 1.048 GB, free: 53.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006542/0.5769, allocations: 321.1 kB / 1.048 GB, free: 53.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.577, allocations: 95.05 kB / 1.048 GB, free: 52.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.5771, allocations: 172 kB / 1.048 GB, free: 52.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.5772, allocations: 37.45 kB / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.5772, allocations: 114.4 kB / 1.048 GB, free: 52.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5773, allocations: 57.66 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.5773, allocations: 5.594 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.5773, allocations: 337 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5775, allocations: 84.8 kB / 1.049 GB, free: 52.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.5777, allocations: 180.3 kB / 1.049 GB, free: 52.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.578, allocations: 269.5 kB / 1.049 GB, free: 51.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.578, allocations: 0 / 1.049 GB, free: 51.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004566/0.5785, allocations: 301.9 kB / 1.05 GB, free: 51.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5785, allocations: 7.875 kB / 1.05 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5785, allocations: 2.562 kB / 1.05 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5785, allocations: 10.95 kB / 1.05 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5787, allocations: 48.44 kB / 1.05 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5787, allocations: 4.75 kB / 1.05 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.5788, allocations: 25.25 kB / 1.05 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.5789, allocations: 8.531 kB / 1.05 GB, free: 51.84 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.0001287/0.579, allocations: 165.5 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.579, allocations: 15.56 kB / 1.05 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.5791, allocations: 18.92 kB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5791, allocations: 4.75 kB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5791, allocations: 0 / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5791, allocations: 0.6094 kB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.5799, allocations: 0.6026 MB / 1.05 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5799, allocations: 2.219 kB / 1.05 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.58, allocations: 12.5 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.58, allocations: 3.875 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.5801, allocations: 7.781 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5801, allocations: 11.47 kB / 1.051 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5801, allocations: 64 / 1.051 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.5807, allocations: 448.5 kB / 1.051 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.5807, allocations: 96.55 kB / 1.051 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.5808, allocations: 19.42 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5809, allocations: 15.34 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.581, allocations: 14.81 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.581, allocations: 13.78 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.5811, allocations: 117.4 kB / 1.051 GB, free: 50.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5811, allocations: 3.344 kB / 1.051 GB, free: 50.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004535/0.5815, allocations: 108.3 kB / 1.051 GB, free: 50.8 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.0009178/0.5825, allocations: 0.4968 MB / 1.052 GB, free: 50.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.5829, allocations: 203.6 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5829, allocations: 4.062 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5831, allocations: 92.47 kB / 1.052 GB, free: 50.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5835, allocations: 27.33 kB / 1.052 GB, free: 50.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.5842, allocations: 413.5 kB / 1.053 GB, free: 50.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.5844, allocations: 0.7368 MB / 1.053 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.5845, allocations: 48.09 kB / 1.053 GB, free: 49.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.5845, allocations: 24.14 kB / 1.053 GB, free: 49.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.5845, allocations: 0 / 1.053 GB, free: 49.5 MB / 0.698 GB Notification: Performance of Templates: time 0.008195/0.5927, allocations: 3.291 MB / 1.057 GB, free: 49.19 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1)