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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 115.4 kB / 16.42 MB, free: 6.492 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: 185.7 kB / 17.35 MB, free: 5.762 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.647/1.647, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.864/2.864, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 71.88 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003669/1.028, allocations: 1.739 MB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002935/1.031, allocations: 1.806 MB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/1.031, allocations: 7.938 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002639/1.032, allocations: 31.78 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/1.032, allocations: 23.73 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/1.033, allocations: 319.3 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/1.034, allocations: 211.5 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/1.034, allocations: 33.42 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/1.034, allocations: 83.73 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/1.034, allocations: 79.61 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/1.034, allocations: 12 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/1.035, allocations: 279.5 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.035, allocations: 55.88 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/1.035, allocations: 71.59 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/1.035, allocations: 374.9 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.035, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.104e-06/1.035, allocations: 3.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.035, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 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.0008888/1.036, allocations: 0.5202 MB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.036, allocations: 8.922 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/1.036, allocations: 24.75 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/1.037, allocations: 224.7 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.037, allocations: 12.31 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/1.037, allocations: 15.98 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/1.037, allocations: 148.6 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.037, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/1.037, allocations: 12 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.037, allocations: 3.938 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/1.037, allocations: 79.88 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/1.038, allocations: 428.7 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/1.039, allocations: 162.3 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/1.039, allocations: 64.83 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/1.039, allocations: 4 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/1.039, allocations: 168.9 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/1.039, allocations: 4 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.000674/1.04, allocations: 303.5 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.04, allocations: 93.09 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.04, allocations: 170.4 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/1.04, allocations: 33.7 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/1.04, allocations: 116.5 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/1.04, allocations: 55.42 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/1.04, allocations: 61.97 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.04, allocations: 330.8 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.041, allocations: 80.5 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/1.041, allocations: 186.4 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.041, allocations: 259.8 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.041, allocations: 4 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00048/1.042, allocations: 297.4 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.042, allocations: 12 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.042, allocations: 4 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.042, allocations: 4 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/1.042, allocations: 43.91 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.042, allocations: 7.938 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/1.042, allocations: 27.78 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.042, allocations: 8 kB / 1.176 GB, free: 10.53 MB / 0.9044 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.0001676/1.042, allocations: 163.9 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/1.042, allocations: 15.81 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/1.042, allocations: 25.86 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.042, allocations: 0 / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.042, allocations: 0 / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/1.043, allocations: 92.86 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/1.043, allocations: 11.92 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.043, allocations: 15.98 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/1.043, allocations: 15.98 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005845/1.043, allocations: 408 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008385/1.044, allocations: 0.5975 MB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001889/1.044, allocations: 79.97 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001097/1.044, allocations: 120.2 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of Backend: time 5.61e-07/1.045, allocations: 0 / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.046, allocations: 0.5428 MB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009368/1.047, allocations: 0.7683 MB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of Templates: time 0.008701/1.056, allocations: 3.675 MB / 1.182 GB, free: 4.035 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (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 & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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