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: 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_9_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_9_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.001557/0.001557, allocations: 112.1 kB / 16.42 MB, free: 6.488 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.001707/0.001707, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.211/2.211, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9454, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.002788/0.9482, allocations: 1.739 MB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.9508, allocations: 1.811 MB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.9509, allocations: 5 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.9511, allocations: 23.69 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.9512, allocations: 26.25 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.9526, allocations: 325.5 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.953, allocations: 210.3 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.9531, allocations: 26.22 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.9532, allocations: 83.94 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.9534, allocations: 83.83 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.9534, allocations: 10.34 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.954, allocations: 284.2 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.9541, allocations: 58.02 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.9542, allocations: 70.64 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.9547, allocations: 367.6 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9547, allocations: 5.188 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9548, allocations: 0 / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9548, allocations: 0 / 1.094 GB, free: 2.375 MB / 0.8575 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.0008176/0.9556, allocations: 0.5155 MB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9556, allocations: 9 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.9557, allocations: 22.77 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.9559, allocations: 231.9 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.956, allocations: 14.45 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.956, allocations: 14.64 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.9563, allocations: 151 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9564, allocations: 0 / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.9564, allocations: 6.266 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9564, allocations: 6.531 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.9566, allocations: 86.61 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.9575, allocations: 430.1 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.9578, allocations: 146.7 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.958, allocations: 78.88 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.958, allocations: 6.625 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.9583, allocations: 164.1 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.9584, allocations: 0.9688 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0007938/0.9592, allocations: 312.5 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.9592, allocations: 90.73 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.9594, allocations: 174.1 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.9594, allocations: 37.11 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.9595, allocations: 115.1 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.9595, allocations: 57 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.9596, allocations: 62.53 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.9597, allocations: 335.1 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.9599, allocations: 76.94 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.9602, allocations: 181.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.9606, allocations: 263.4 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9607, allocations: 0.6875 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006208/0.9613, allocations: 288.9 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9613, allocations: 6.75 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9613, allocations: 3.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.9614, allocations: 9.234 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.9616, allocations: 39.28 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.9616, allocations: 9.016 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.9617, allocations: 26.02 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.9618, allocations: 18.09 kB / 1.097 GB, free: 15.65 MB / 0.8731 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.0001854/0.9619, allocations: 159.9 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.962, allocations: 16.3 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.9621, allocations: 21.31 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9621, allocations: 1.406 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9621, allocations: 0.9688 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.9621, allocations: 98.75 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.9622, allocations: 15.44 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.9623, allocations: 15.38 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.9624, allocations: 11.17 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006728/0.9631, allocations: 419.6 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008261/0.9639, allocations: 0.5911 MB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001892/0.9641, allocations: 82.62 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001138/0.9642, allocations: 120.2 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of Backend: time 5.01e-07/0.9643, allocations: 0.7812 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.9659, allocations: 0.5206 MB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009023/0.9668, allocations: 0.778 MB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.009776/0.9766, allocations: 3.667 MB / 1.104 GB, free: 13.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile (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 & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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