Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.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.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.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.832/1.832, 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.00119/0.001191, allocations: 172.3 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.626/1.626, allocations: 225.7 MB / 0.6743 GB, free: 12.51 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.0008584/0.0008584, allocations: 96.2 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 9.375 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6811, allocations: 121.3 MB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter): time 0.001966/0.6831, allocations: 1.437 MB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.6855, allocations: 2.343 MB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.6856, allocations: 0 / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.6857, allocations: 19.62 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.6859, allocations: 25.58 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6871, allocations: 268.6 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.6874, allocations: 204.2 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.6875, allocations: 22.91 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.6877, allocations: 72.64 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.6878, allocations: 76.78 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.6878, allocations: 2.75 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.6882, allocations: 233.9 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.6883, allocations: 57.72 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.6884, allocations: 91.7 kB / 1.046 GB, free: 54.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.6889, allocations: 363.3 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6889, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6889, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6889, allocations: 0 / 1.046 GB, free: 54.36 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.0007121/0.6896, allocations: 0.4909 MB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6897, allocations: 12.78 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.6897, allocations: 23 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.6899, allocations: 225.9 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6899, allocations: 14.97 kB / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.69, allocations: 17.12 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.6903, allocations: 152.3 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.6903, allocations: 0 / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6903, allocations: 8.25 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6903, allocations: 2.031 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.6906, allocations: 85.66 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.6914, allocations: 434.8 kB / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.6917, allocations: 159.3 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.6918, allocations: 75.09 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.6918, allocations: 2.344 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.6921, allocations: 164.5 kB / 1.048 GB, free: 53.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.6921, allocations: 0 / 1.048 GB, free: 53.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006219/0.6928, allocations: 323 kB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6928, allocations: 88.3 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6929, allocations: 176.9 kB / 1.048 GB, free: 52.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.693, allocations: 42.89 kB / 1.048 GB, free: 52.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.693, allocations: 110.7 kB / 1.048 GB, free: 52.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.6931, allocations: 59.78 kB / 1.049 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.6931, allocations: 4 kB / 1.049 GB, free: 52.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.6932, allocations: 338.9 kB / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.6933, allocations: 84.84 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.6935, allocations: 175.3 kB / 1.049 GB, free: 52.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.6938, allocations: 276.7 kB / 1.049 GB, free: 51.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6939, allocations: 0 / 1.049 GB, free: 51.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004334/0.6943, allocations: 305.1 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6943, allocations: 9.031 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6943, allocations: 3.406 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6944, allocations: 6.969 kB / 1.05 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6945, allocations: 43.12 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6945, allocations: 5.906 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6946, allocations: 24.36 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.6947, allocations: 14.56 kB / 1.05 GB, free: 51.7 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.0001229/0.6948, allocations: 158.1 kB / 1.05 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.6948, allocations: 18.78 kB / 1.05 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.6949, allocations: 23.69 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.6949, allocations: 2.562 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6949, allocations: 2.422 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6949, allocations: 2.812 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.6957, allocations: 0.5926 MB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.6957, allocations: 0 / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.6958, allocations: 19.3 kB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6958, allocations: 5.5 kB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.6958, allocations: 6.344 kB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6958, allocations: 10.64 kB / 1.051 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6958, allocations: 4 kB / 1.051 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.6964, allocations: 444.3 kB / 1.051 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.6965, allocations: 92.33 kB / 1.051 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.6965, allocations: 16.86 kB / 1.051 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.6967, allocations: 17.58 kB / 1.051 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.6967, allocations: 13.11 kB / 1.051 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.6967, allocations: 11.66 kB / 1.051 GB, free: 50.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.6968, allocations: 124 kB / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6968, allocations: 4.062 kB / 1.051 GB, free: 50.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004424/0.6973, allocations: 113.8 kB / 1.051 GB, free: 50.66 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.0008573/0.6981, allocations: 0.4939 MB / 1.052 GB, free: 50.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.6985, allocations: 210.3 kB / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6986, allocations: 0 / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6987, allocations: 87.44 kB / 1.052 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.6991, allocations: 29.16 kB / 1.052 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.6998, allocations: 420.2 kB / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.6999, allocations: 0.7273 MB / 1.053 GB, free: 49.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.7, allocations: 53.53 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.7001, allocations: 17.09 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.7001, allocations: 3.438 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of Templates: time 0.00657/0.7067, allocations: 3.322 MB / 1.057 GB, free: 49.05 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.KalmanFilter.pipe 2>&1)