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.0009398/0.0009398, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.004936/0.004936, allocations: 169 kB / 16.26 MB, free: 6.652 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.356/2.356, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 12 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.498, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.001659/0.4997, allocations: 1.443 MB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.5017, allocations: 1.775 MB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.5018, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.5019, allocations: 27.83 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.502, allocations: 15.81 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.503, allocations: 270 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.5032, allocations: 207.4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.5033, allocations: 29.53 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.5034, allocations: 75.69 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.5035, allocations: 71.67 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.5036, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.504, allocations: 251.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.5041, allocations: 59.8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.5041, allocations: 85.36 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.5045, allocations: 365.3 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.5046, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5046, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5046, allocations: 0 / 1.028 GB, free: 11.2 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.0006644/0.5052, allocations: 0.4913 MB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5053, allocations: 8.031 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.5053, allocations: 42.73 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.5054, allocations: 28.75 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5056, allocations: 225.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5056, allocations: 16.11 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.5056, allocations: 15.94 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5059, allocations: 152.4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5059, allocations: 3.938 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5059, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5059, allocations: 8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.5061, allocations: 87.88 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.5069, allocations: 436.7 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.5071, allocations: 154.5 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5073, allocations: 78.84 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5073, allocations: 0 / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.5075, allocations: 173 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.5076, allocations: 0 / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005844/0.5081, allocations: 319.1 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5082, allocations: 89.09 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5083, allocations: 170.3 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5084, allocations: 41.83 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.5084, allocations: 108.6 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.5085, allocations: 55.2 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.5085, allocations: 37.7 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.5086, allocations: 338.8 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5088, allocations: 80.5 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.509, allocations: 185.8 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.5093, allocations: 275.8 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5093, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004531/0.5098, allocations: 305.1 kB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5098, allocations: 4.375 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5098, allocations: 8.094 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5099, allocations: 7.938 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.51, allocations: 39.92 kB / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.51, allocations: 7.938 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5101, allocations: 27.83 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.5102, allocations: 15.94 kB / 1.032 GB, free: 6.895 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.0001252/0.5103, allocations: 152.5 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.5103, allocations: 31.72 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.5104, allocations: 17.88 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5104, allocations: 0 / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5104, allocations: 0 / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5104, allocations: 4 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.5111, allocations: 0.601 MB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5112, allocations: 0 / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.5113, allocations: 19.98 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5113, allocations: 0 / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5113, allocations: 7.938 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5113, allocations: 0 / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5113, allocations: 11.92 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.5119, allocations: 452.8 kB / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.512, allocations: 96.94 kB / 1.033 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.512, allocations: 7.938 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5121, allocations: 19.98 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.5122, allocations: 11.97 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.5122, allocations: 12 kB / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.5123, allocations: 121.8 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5123, allocations: 0 / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003855/0.5127, allocations: 116 kB / 1.033 GB, free: 5.145 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.001454/0.5142, allocations: 1.314 MB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.5145, allocations: 213.9 kB / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5145, allocations: 0 / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.5147, allocations: 91.88 kB / 1.035 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.515, allocations: 27.97 kB / 1.035 GB, free: 3.586 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.002324/0.5174, allocations: 2.466 MB / 1.037 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.5176, allocations: 0.7319 MB / 1.038 GB, free: 196 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.5177, allocations: 45.5 kB / 1.038 GB, free: 152 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.5178, allocations: 43.42 kB / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5178, allocations: 0 / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.947/3.465, allocations: 5.083 MB / 1.043 GB, free: 11.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/3.465, allocations: 284 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/5.914, allocations: 4.062 kB / 1.043 GB, free: 10.78 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