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: 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_latest_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_latest_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.001363/0.001363, allocations: 112 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.001432/0.001432, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.498/1.498, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.89 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9843/0.9858, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.003559/0.9894, allocations: 1.739 MB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.9924, allocations: 1.807 MB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.9926, allocations: 3.938 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.9928, allocations: 27.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.993, allocations: 31.78 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.9945, allocations: 319.1 kB / 1.225 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.9948, allocations: 211.5 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.9949, allocations: 29.55 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.9951, allocations: 87.67 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.9953, allocations: 75.66 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.9953, allocations: 12 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.9958, allocations: 275.5 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.996, allocations: 59.86 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.9961, allocations: 71.58 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.9967, allocations: 374.9 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9967, allocations: 0 / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9967, allocations: 4 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9967, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.9512 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.0009107/0.9976, allocations: 0.5163 MB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9977, allocations: 12.03 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.9977, allocations: 16.75 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.998, allocations: 228.6 kB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.998, allocations: 24.3 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.9981, allocations: 12 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.9984, allocations: 147.3 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9984, allocations: 0 / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.9985, allocations: 4 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9985, allocations: 0 / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.9987, allocations: 87.81 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.9996, allocations: 424.7 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.9999, allocations: 150.5 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/1, allocations: 68.81 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/1, allocations: 11.94 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/1, allocations: 158.7 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/1, allocations: 0 / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0006944/1.001, allocations: 315.2 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.001, allocations: 93.09 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/1.001, allocations: 174.3 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/1.001, allocations: 41.69 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/1.001, allocations: 108.6 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/1.002, allocations: 59.28 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/1.002, allocations: 53.98 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.002, allocations: 334.8 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/1.002, allocations: 84.5 kB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/1.002, allocations: 178.4 kB / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/1.003, allocations: 267.8 kB / 1.229 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.003, allocations: 4 kB / 1.229 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005314/1.003, allocations: 297 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.003, allocations: 4 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.003, allocations: 7.984 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.003, allocations: 4 kB / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.003, allocations: 40.3 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.004, allocations: 23.86 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/1.004, allocations: 19.84 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/1.004, allocations: 8 kB / 1.23 GB, free: 9.035 MB / 0.9512 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.0001734/1.004, allocations: 156.5 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/1.004, allocations: 23.8 kB / 1.23 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/1.004, allocations: 21.88 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.004, allocations: 3.984 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.004, allocations: 0 / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/1.004, allocations: 92.86 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/1.004, allocations: 16.02 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.004, allocations: 15.92 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/1.004, allocations: 15.98 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005788/1.005, allocations: 412 kB / 1.23 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007846/1.006, allocations: 0.5926 MB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001795/1.006, allocations: 84.06 kB / 1.231 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001001/1.006, allocations: 120.2 kB / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of Backend: time 7.12e-07/1.006, allocations: 0 / 1.231 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.008, allocations: 0.5307 MB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001037/1.009, allocations: 0.7613 MB / 1.232 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of Templates: time 0.008508/1.017, allocations: 3.686 MB / 1.236 GB, free: 2.539 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (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 & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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