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.007467/0.007467, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001715/0.001715, allocations: 194.1 kB / 16.67 MB, free: 5.977 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3062, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003751/0.31, allocations: 1.74 MB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3129, allocations: 1.807 MB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3131, allocations: 0 / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3133, allocations: 35.7 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3135, allocations: 19.8 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.3151, allocations: 320.2 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.3155, allocations: 223.4 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3156, allocations: 29.55 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3158, allocations: 83.69 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3159, allocations: 75.67 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.316, allocations: 12 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.3166, allocations: 279.5 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3167, allocations: 67.8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.3168, allocations: 63.61 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.3174, allocations: 379.3 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3175, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3175, allocations: 4 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.3175, allocations: 0 / 1.212 GB, free: 5.07 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.000952/0.3184, allocations: 0.5184 MB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3185, allocations: 12.62 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.3186, allocations: 42.73 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.3186, allocations: 16.75 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3189, allocations: 240.5 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3189, allocations: 12.12 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.319, allocations: 12 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.3193, allocations: 147.3 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3193, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3194, allocations: 8 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3194, allocations: 0 / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.3196, allocations: 83.88 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.3206, allocations: 428.7 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.3209, allocations: 146.5 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3211, allocations: 72.83 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3211, allocations: 11.92 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.3214, allocations: 158 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.3215, allocations: 0 / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0007607/0.3222, allocations: 310.9 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.3223, allocations: 93.09 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3225, allocations: 180 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.3226, allocations: 33.7 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.3227, allocations: 116.5 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.3227, allocations: 51.34 kB / 1.215 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3228, allocations: 61.97 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.323, allocations: 334.8 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3232, allocations: 80.5 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3234, allocations: 184.3 kB / 1.215 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.3238, allocations: 255.8 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3238, allocations: 8 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005138/0.3244, allocations: 297 kB / 1.216 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3244, allocations: 5.562 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3244, allocations: 4 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.3244, allocations: 4.375 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3246, allocations: 43.91 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3246, allocations: 8 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3247, allocations: 19.84 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3248, allocations: 19.88 kB / 1.216 GB, free: 0.7852 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.00016/0.3249, allocations: 159.9 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.325, allocations: 19.81 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.325, allocations: 25.86 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.325, allocations: 96 / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.325, allocations: 7.938 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3251, allocations: 0 / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.326, allocations: 0.5779 MB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.326, allocations: 4 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.3261, allocations: 11.98 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3261, allocations: 8 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3262, allocations: 11.92 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3262, allocations: 0 / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3262, allocations: 0 / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.3269, allocations: 438.7 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.3269, allocations: 96.95 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.327, allocations: 15.92 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3271, allocations: 15.98 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3272, allocations: 11.98 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.3272, allocations: 12 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.978e-05/0.3273, allocations: 123.2 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3273, allocations: 3.938 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004963/0.3278, allocations: 103.9 kB / 1.218 GB, free: 15.06 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.001781/0.3296, allocations: 1.314 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.3301, allocations: 205.9 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3301, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3303, allocations: 83.84 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3306, allocations: 24.8 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3334, allocations: 2.385 MB / 1.222 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3337, allocations: 0.7359 MB / 1.222 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.3339, allocations: 45.5 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.334, allocations: 51.36 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.334, allocations: 0 / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3611, allocations: 5.671 MB / 1.228 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.56, allocations: 0 / 1.228 GB, free: 4.52 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