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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,fileNamePrefix="Buildings_latest_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_latest_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.0008792/0.0008792, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005118/0.005118, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.000329, allocations: 8.312 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2986, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.002112/0.3008, allocations: 1.456 MB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3032, allocations: 1.767 MB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.3033, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3034, allocations: 23.84 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3035, allocations: 19.8 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3046, allocations: 270.1 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3048, allocations: 211.4 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.3049, allocations: 21.56 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.305, allocations: 71.69 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3052, allocations: 71.67 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3052, allocations: 8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.3056, allocations: 251.6 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.3057, allocations: 59.8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.3058, allocations: 89.31 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.3062, allocations: 367.3 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3062, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.757e-06/0.3062, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3062, allocations: 3.938 kB / 1.063 GB, free: 228 kB / 0.8106 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.0007902/0.307, allocations: 499 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3071, allocations: 15.97 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.3071, allocations: 50.73 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3072, allocations: 16.75 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3074, allocations: 221.4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3074, allocations: 16.12 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3074, allocations: 15.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3077, allocations: 151.8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3078, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3078, allocations: 11.98 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3078, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.308, allocations: 91.88 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.3088, allocations: 428.7 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3091, allocations: 162.5 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3093, allocations: 72.81 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3093, allocations: 7.984 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.3096, allocations: 169.2 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3096, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006403/0.3103, allocations: 323.1 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.3103, allocations: 97.03 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3105, allocations: 167.8 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3105, allocations: 41.69 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.3106, allocations: 116.5 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.3106, allocations: 51.3 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3107, allocations: 37.7 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3108, allocations: 338.8 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.311, allocations: 76.52 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.3112, allocations: 185.9 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.3116, allocations: 267.8 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3116, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004785/0.3121, allocations: 305 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3121, allocations: 9.562 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3121, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3121, allocations: 8 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3123, allocations: 40.28 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3123, allocations: 8 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3124, allocations: 35.77 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3124, allocations: 15.94 kB / 1.067 GB, free: 11.91 MB / 0.8262 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.0001469/0.3126, allocations: 152 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3126, allocations: 19.72 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3127, allocations: 21.86 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3127, allocations: 8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3127, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3127, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.3135, allocations: 0.5927 MB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3136, allocations: 8.062 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.3137, allocations: 19.92 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3137, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3137, allocations: 11.92 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3137, allocations: 4.094 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3137, allocations: 3.938 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.3144, allocations: 448.1 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.3144, allocations: 100.9 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.3145, allocations: 11.92 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3146, allocations: 20.05 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3147, allocations: 11.98 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3147, allocations: 19.92 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.3148, allocations: 124.2 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3148, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004014/0.3152, allocations: 107.9 kB / 1.069 GB, free: 10.15 MB / 0.8262 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.001545/0.3168, allocations: 1.306 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.3172, allocations: 210 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3172, allocations: 3.938 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.3174, allocations: 92.7 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3177, allocations: 32.09 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.002543/0.3203, allocations: 2.465 MB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3205, allocations: 0.7242 MB / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.3206, allocations: 49.5 kB / 1.074 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.3207, allocations: 47.42 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3207, allocations: 0 / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.806/5.126, allocations: 5.073 MB / 1.079 GB, free: 200 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/5.127, allocations: 291.2 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/7.183, allocations: 4 kB / 1.079 GB, free: 15.8 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter.fmu > 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