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.001448/0.001448, allocations: 107 kB / 16.41 MB, free: 6.504 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.001458/0.001458, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 59.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9034/0.905, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.004349/0.9094, allocations: 1.738 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004204/0.9137, allocations: 1.81 MB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.914, allocations: 7.938 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.9144, allocations: 27.78 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.9147, allocations: 19.8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.9172, allocations: 327.7 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.9177, allocations: 215.5 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.9178, allocations: 29.55 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.918, allocations: 79.69 kB / 1.213 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.9182, allocations: 79.66 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.9183, allocations: 8 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.919, allocations: 283.5 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.9192, allocations: 63.8 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.9193, allocations: 63.66 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.92, allocations: 374.9 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.92, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.475e-06/0.92, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9201, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 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.001119/0.9212, allocations: 0.528 MB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.9212, allocations: 8.031 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.9213, allocations: 16.75 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.9216, allocations: 228.7 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.9217, allocations: 12.31 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.9217, allocations: 12 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.9221, allocations: 151.3 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9221, allocations: 4 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.9221, allocations: 0 / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.9221, allocations: 4 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.9224, allocations: 79.81 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009353/0.9233, allocations: 432.7 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.9236, allocations: 154.4 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.9238, allocations: 64.83 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.9238, allocations: 7.984 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.9241, allocations: 170.8 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.9242, allocations: 0 / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007383/0.9249, allocations: 308 kB / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.925, allocations: 85.09 kB / 1.216 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.9252, allocations: 176.1 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.9252, allocations: 45.64 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.9253, allocations: 108.6 kB / 1.216 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.9254, allocations: 63.28 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.9255, allocations: 61.91 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9256, allocations: 338.8 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.9258, allocations: 76.5 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.926, allocations: 177.9 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.9264, allocations: 263.8 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9264, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005215/0.9269, allocations: 297.4 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.927, allocations: 8 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.927, allocations: 0 / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.927, allocations: 8 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9272, allocations: 43.91 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.9272, allocations: 7.938 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.9273, allocations: 23.91 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.9274, allocations: 19.98 kB / 1.217 GB, free: 4.289 MB / 0.9356 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.0001735/0.9275, allocations: 159.9 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.9276, allocations: 15.81 kB / 1.217 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.9277, allocations: 21.86 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.9277, allocations: 0 / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9277, allocations: 0 / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.9277, allocations: 96.86 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.9278, allocations: 15.92 kB / 1.217 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.9279, allocations: 15.98 kB / 1.218 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.928, allocations: 11.98 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005906/0.9286, allocations: 412.1 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007502/0.9293, allocations: 0.5858 MB / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001764/0.9295, allocations: 91.91 kB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.923e-05/0.9296, allocations: 119.2 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of Backend: time 7.12e-07/0.9296, allocations: 0 / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.9312, allocations: 0.5256 MB / 1.219 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008071/0.932, allocations: 0.7644 MB / 1.22 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.008544/0.9406, allocations: 3.677 MB / 1.224 GB, free: 13.82 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