Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001346/0.001346, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5302, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003176/0.5334, allocations: 1.789 MB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.536, allocations: 1.802 MB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.5361, allocations: 3.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.5363, allocations: 19.86 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.5364, allocations: 19.86 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.5376, allocations: 279.3 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.5379, allocations: 199.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.538, allocations: 29.47 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.5381, allocations: 75.75 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.5383, allocations: 79.61 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.5383, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.5388, allocations: 255.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.5389, allocations: 63.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.539, allocations: 59.61 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.5395, allocations: 365.4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5395, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5395, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5395, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 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.0008408/0.5404, allocations: 0.5223 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5404, allocations: 12.02 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.5405, allocations: 38.75 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.5405, allocations: 20.73 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.5407, allocations: 225.9 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.5408, allocations: 16.12 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.5408, allocations: 12 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.5411, allocations: 154.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5411, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.5412, allocations: 3.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5412, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.5414, allocations: 79.89 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.5422, allocations: 436.6 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.5425, allocations: 150.5 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.5426, allocations: 72.81 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.5427, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.5429, allocations: 165.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.5429, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006167/0.5436, allocations: 315.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.5436, allocations: 85.11 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.5438, allocations: 162.4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.5438, allocations: 41.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.5439, allocations: 112.5 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.544, allocations: 63.27 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.544, allocations: 57.98 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5442, allocations: 338.8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5443, allocations: 72.52 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5445, allocations: 185.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.5449, allocations: 263.7 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5449, allocations: 7.938 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004795/0.5454, allocations: 293.1 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5454, allocations: 8 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5454, allocations: 4.375 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5455, allocations: 8 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5456, allocations: 39.91 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5456, allocations: 4 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.5457, allocations: 23.83 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.5458, allocations: 23.88 kB / 1.025 GB, free: 9.473 MB / 0.7794 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.0001461/0.5459, allocations: 152.5 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.546, allocations: 23.72 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.546, allocations: 21.86 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.546, allocations: 4 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.546, allocations: 0 / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.546, allocations: 0 / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.5469, allocations: 0.5816 MB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5469, allocations: 3.984 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.547, allocations: 20 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.547, allocations: 0 / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.547, allocations: 15.98 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.547, allocations: 4 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.547, allocations: 0 / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.5477, allocations: 441.5 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.5477, allocations: 88.92 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.5478, allocations: 15.92 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5479, allocations: 15.98 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.548, allocations: 8.078 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.548, allocations: 15.92 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.498e-05/0.5481, allocations: 121.8 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5481, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004397/0.5485, allocations: 119.9 kB / 1.027 GB, free: 7.75 MB / 0.7794 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.001611/0.5502, allocations: 1.299 MB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.5506, allocations: 203.7 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5506, allocations: 0 / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.5507, allocations: 83.89 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.5511, allocations: 27.98 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.5536, allocations: 2.435 MB / 1.031 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.5538, allocations: 0.732 MB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.554, allocations: 49.5 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.554, allocations: 47.36 kB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of SimCode: time 2.164e-06/0.554, allocations: 112 / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.11/3.664, allocations: 5.28 MB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/3.664, allocations: 280.7 kB / 1.037 GB, free: 13.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/5.306, allocations: 2.953 kB / 1.037 GB, free: 13.23 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches