Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001264/0.001264, 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.001298/0.001298, allocations: 197.6 kB / 16.26 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 1.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.5753, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003038/0.5784, allocations: 1.777 MB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.5805, allocations: 1.788 MB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.5807, allocations: 5.312 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.5808, allocations: 17.36 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.5809, allocations: 20.2 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.5821, allocations: 292.5 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.5823, allocations: 208.8 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.5824, allocations: 39.62 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.5826, allocations: 82.03 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.5827, allocations: 82.75 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.5827, allocations: 10.03 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.5831, allocations: 263.6 kB / 0.9537 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.5832, allocations: 60.92 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.5833, allocations: 69.66 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.5837, allocations: 364.2 kB / 0.9542 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5837, allocations: 0 / 0.9542 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5837, allocations: 0 / 0.9542 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5837, allocations: 7.938 kB / 0.9542 GB, free: 5.426 MB / 0.7169 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.0007076/0.5844, allocations: 0.5163 MB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5845, allocations: 8.812 kB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.5845, allocations: 47.05 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.5846, allocations: 17.81 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5847, allocations: 230.6 kB / 0.955 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5848, allocations: 16.58 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.5848, allocations: 14.41 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.5851, allocations: 147.6 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5851, allocations: 1.25 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.5851, allocations: 5.25 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5851, allocations: 1.375 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.5853, allocations: 83.5 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.586, allocations: 430.7 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.5863, allocations: 148.4 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5864, allocations: 78.34 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5865, allocations: 2.219 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.5867, allocations: 167.2 kB / 0.956 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.684e-06/0.5867, allocations: 0 / 0.956 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006019/0.5873, allocations: 316.7 kB / 0.9563 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5874, allocations: 92.28 kB / 0.9564 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5875, allocations: 165 kB / 0.9566 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5875, allocations: 39.75 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.5876, allocations: 110.3 kB / 0.9567 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.5876, allocations: 60.22 kB / 0.9568 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.5877, allocations: 62.19 kB / 0.9568 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.5877, allocations: 335.2 kB / 0.9571 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5879, allocations: 78.62 kB / 0.9572 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.5881, allocations: 180.5 kB / 0.9574 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5884, allocations: 264.5 kB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5884, allocations: 1.375 kB / 0.9576 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004158/0.5888, allocations: 288.1 kB / 0.9579 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5888, allocations: 6.875 kB / 0.9579 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5888, allocations: 3.125 kB / 0.9579 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5888, allocations: 9.5 kB / 0.9579 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.589, allocations: 35.86 kB / 0.958 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.589, allocations: 8.641 kB / 0.958 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.5891, allocations: 24.75 kB / 0.958 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5891, allocations: 13.88 kB / 0.958 GB, free: 2.277 MB / 0.7169 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.0001148/0.5893, allocations: 160.3 kB / 0.9582 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.5893, allocations: 17.09 kB / 0.9582 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.5893, allocations: 21.5 kB / 0.9582 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5893, allocations: 3 kB / 0.9582 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5894, allocations: 4.953 kB / 0.9582 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5894, allocations: 3.984 kB / 0.9582 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.5901, allocations: 0.5858 MB / 0.9588 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5901, allocations: 9 kB / 0.9588 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.5902, allocations: 14.27 kB / 0.9588 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5902, allocations: 2 kB / 0.9588 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5902, allocations: 15.17 kB / 0.9588 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5902, allocations: 1.188 kB / 0.9588 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5902, allocations: 1.062 kB / 0.9588 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.5908, allocations: 438.2 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.5908, allocations: 94.28 kB / 0.9593 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.5909, allocations: 12.34 kB / 0.9593 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.591, allocations: 15.64 kB / 0.9594 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.591, allocations: 14.22 kB / 0.9594 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.5911, allocations: 12 kB / 0.9594 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.5911, allocations: 120.5 kB / 0.9595 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5911, allocations: 4.062 kB / 0.9595 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004242/0.5916, allocations: 110.7 kB / 0.9596 GB, free: 1.07 MB / 0.7169 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.001332/0.5929, allocations: 1.302 MB / 0.9609 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.5933, allocations: 223.9 kB / 0.9611 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5933, allocations: 0 / 0.9611 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5935, allocations: 89.28 kB / 0.9612 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.5938, allocations: 36.25 kB / 0.9612 GB, free: 15.98 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.002383/0.5962, allocations: 2.412 MB / 0.9636 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5964, allocations: 0.7357 MB / 0.9643 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.5965, allocations: 49.28 kB / 0.9643 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.5966, allocations: 45.47 kB / 0.9644 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5966, allocations: 3.938 kB / 0.9644 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/0.9951, allocations: 5.398 MB / 0.9696 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.9954, allocations: 279.9 kB / 0.9699 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.874, allocations: 0 / 0.9699 GB, free: 10.04 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches