Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009132/0.009132, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.89 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3042, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003157/0.3074, allocations: 1.734 MB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.3101, allocations: 1.803 MB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3103, allocations: 4 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.3104, allocations: 31.78 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3106, allocations: 23.73 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3119, allocations: 322 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3123, allocations: 219.4 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3124, allocations: 37.53 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3126, allocations: 83.69 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3127, allocations: 71.67 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.3128, allocations: 12 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.3133, allocations: 279.5 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3134, allocations: 63.81 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.3135, allocations: 67.66 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.314, allocations: 383.2 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.314, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.314, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3141, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 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.000887/0.3149, allocations: 0.5223 MB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.315, allocations: 12.62 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.3151, allocations: 42.73 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.3151, allocations: 16.75 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3154, allocations: 228.6 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3154, allocations: 16.12 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.3154, allocations: 12 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.3157, allocations: 147.3 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3158, allocations: 4 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3158, allocations: 4 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3158, allocations: 3.984 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.316, allocations: 79.88 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.3169, allocations: 432.7 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3172, allocations: 152.1 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3174, allocations: 64.83 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3174, allocations: 4 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.3177, allocations: 170 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.3177, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.000673/0.3184, allocations: 306.9 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.3185, allocations: 93.08 kB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3187, allocations: 180 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.3187, allocations: 37.7 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.3188, allocations: 112.7 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.3189, allocations: 51.36 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.3189, allocations: 57.97 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3191, allocations: 338.7 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3192, allocations: 80.5 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3195, allocations: 173.9 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.3199, allocations: 271.7 kB / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.3199, allocations: 0 / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000505/0.3204, allocations: 297.3 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3204, allocations: 4 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3204, allocations: 4.062 kB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3205, allocations: 8 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3206, allocations: 47.91 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3206, allocations: 4 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3208, allocations: 19.84 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3208, allocations: 19.92 kB / 1.216 GB, free: 0.8008 MB / 0.9669 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,kalFil.firstTrigger,$PRE.kalFil.firstTrigger,kalFil.yR[1],$PRE.kalFil.yR[1],kalFil.uRIntPre[1],$PRE.kalFil.uRIntPre[1],ran.firstTrigger,$PRE.ran.firstTrigger,ran.uRIntPre[1],$PRE.ran.uRIntPre[1],ran.sampleTrigger,$whenCondition1,ran.uRWri_temp[1],$PRE.ran.uRWri_temp[1],ran.uRWri[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,kalFil.uRWri_temp[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri[1],$PRE.kalFil.uRWri[1],ran.yR[1],$PRE.ran.yR[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.000175/0.321, allocations: 167.9 kB / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.321, allocations: 15.81 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.3211, allocations: 21.86 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3211, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3211, allocations: 4 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3211, allocations: 0 / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.322, allocations: 0.5778 MB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.322, allocations: 3.938 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3221, allocations: 15.98 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3222, allocations: 4 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3222, allocations: 11.92 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3222, allocations: 0 / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3222, allocations: 0 / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.3229, allocations: 442.7 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.3229, allocations: 92.89 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.323, allocations: 11.94 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3231, allocations: 11.98 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.3232, allocations: 20.06 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3232, allocations: 11.94 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.081e-05/0.3233, allocations: 127.3 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3233, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004824/0.3238, allocations: 111.8 kB / 1.218 GB, free: 15.07 MB / 0.9825 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.001761/0.3256, allocations: 1.302 MB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.326, allocations: 205.8 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.326, allocations: 0 / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3262, allocations: 88.59 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3266, allocations: 29.78 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.3294, allocations: 2.392 MB / 1.222 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3297, allocations: 0.732 MB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.3299, allocations: 45.44 kB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3299, allocations: 47.42 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.33, allocations: 0 / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.3564, allocations: 5.669 MB / 1.228 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.378, allocations: 9.5 kB / 1.228 GB, free: 4.531 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat does not exist to compare? outputFormat=mat