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.001728/0.001729, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001929/0.001929, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.029/5.029, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 61.59 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5135, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.006673/0.5202, allocations: 1.795 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006078/0.5264, allocations: 1.779 MB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.5266, allocations: 3.938 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.5269, allocations: 27.84 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.5273, allocations: 15.86 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.5299, allocations: 290.9 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.5307, allocations: 219.5 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.5309, allocations: 21.56 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.5312, allocations: 87.67 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.5315, allocations: 79.61 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.5315, allocations: 8 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008079/0.5324, allocations: 267.6 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.5326, allocations: 67.8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.5328, allocations: 63.67 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.5338, allocations: 379.3 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.5339, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5339, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.5339, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 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.001408/0.5353, allocations: 0.5107 MB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.5354, allocations: 8.625 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.325e-05/0.5355, allocations: 46.73 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.5356, allocations: 24.69 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.536, allocations: 237.3 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.5361, allocations: 12.12 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.5361, allocations: 16 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.5366, allocations: 147.3 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5367, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.5367, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5367, allocations: 4 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.5371, allocations: 79.88 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.5385, allocations: 428.7 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.539, allocations: 154.5 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5392, allocations: 64.83 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.5393, allocations: 4 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.5397, allocations: 173.2 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 2.335e-06/0.5398, allocations: 0 / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.001028/0.5408, allocations: 302.8 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002198/0.541, allocations: 97.22 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.5413, allocations: 174.8 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.5413, allocations: 33.7 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5415, allocations: 116.5 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.5416, allocations: 51.34 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.5417, allocations: 61.97 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5419, allocations: 330.8 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.5422, allocations: 80.5 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.5425, allocations: 177.9 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.5432, allocations: 263.7 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5433, allocations: 4 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008934/0.5442, allocations: 297 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5442, allocations: 4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5442, allocations: 4 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.5443, allocations: 4 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.5445, allocations: 47.84 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.5446, allocations: 12.36 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5448, allocations: 31.81 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5448, allocations: 11.94 kB / 1.061 GB, free: 15.28 MB / 0.8262 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.0002479/0.5451, allocations: 167.9 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.5452, allocations: 19.81 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.5453, allocations: 21.86 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5453, allocations: 0 / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5453, allocations: 4 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5453, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.5468, allocations: 0.5737 MB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.5468, allocations: 4 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.5469, allocations: 11.98 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.547, allocations: 4 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.547, allocations: 15.92 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.547, allocations: 4 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.547, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5482, allocations: 438.2 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.5483, allocations: 92.89 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.5484, allocations: 15.92 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.5486, allocations: 16.05 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.5487, allocations: 15.98 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.5488, allocations: 4 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001666/0.549, allocations: 123.2 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.549, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008747/0.5499, allocations: 107.9 kB / 1.063 GB, free: 13.55 MB / 0.8262 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.003059/0.5529, allocations: 1.318 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007958/0.5537, allocations: 223.9 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5538, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.5541, allocations: 83.89 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.5547, allocations: 25.7 kB / 1.064 GB, free: 12 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.00481/0.5595, allocations: 2.413 MB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.56, allocations: 0.732 MB / 1.067 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.5602, allocations: 49.5 kB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.5604, allocations: 43.42 kB / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.5604, allocations: 192 / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.503/2.063, allocations: 5.394 MB / 1.073 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004871/2.064, allocations: 285.7 kB / 1.073 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/5.905, allocations: 0 / 1.073 GB, free: 2.91 MB / 0.8262 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) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches