Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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) 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) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 89.5 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1048/0.1048, allocations: 20.17 MB / 351.4 MB, free: 11.01 MB / 250.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8745/0.8745, allocations: 127.6 MB / 0.5233 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.078e-05, allocations: 4 kB / 0.6111 GB, free: 7.695 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.5853, allocations: 82.87 MB / 0.692 GB, free: 3.043 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.7666, allocations: 119.3 MB / 0.8086 GB, free: 9.746 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.767, allocations: 95.91 kB / 0.8087 GB, free: 9.652 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.7852, allocations: 6.406 MB / 0.8149 GB, free: 3.234 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7853, allocations: 0 / 0.8149 GB, free: 3.234 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.7853, allocations: 0 / 0.8149 GB, free: 3.234 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006597/0.7859, allocations: 438.1 kB / 0.8154 GB, free: 2.762 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.786, allocations: 8.031 kB / 0.8154 GB, free: 2.754 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.7861, allocations: 11.81 kB / 0.8154 GB, free: 2.742 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.7864, allocations: 194.9 kB / 0.8156 GB, free: 2.512 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.7865, allocations: 37.69 kB / 0.8156 GB, free: 2.469 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.7865, allocations: 8 kB / 0.8156 GB, free: 2.461 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000187/0.7867, allocations: 55.97 kB / 0.8157 GB, free: 2.406 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.7869, allocations: 81.66 kB / 0.8157 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7869, allocations: 0 / 0.8157 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.7869, allocations: 0 / 0.8157 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.7869, allocations: 0 / 0.8157 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.7876, allocations: 381 kB / 0.8161 GB, free: 1.91 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.7878, allocations: 90.62 kB / 0.8162 GB, free: 1.812 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.7879, allocations: 48.89 kB / 0.8162 GB, free: 1.762 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.7879, allocations: 0 / 0.8162 GB, free: 1.762 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.788, allocations: 45.78 kB / 0.8163 GB, free: 1.711 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.788, allocations: 4 kB / 0.8163 GB, free: 1.707 MB / 0.5418 GB Notification: Performance of matching and sorting (n=12): time 0.0003256/0.7883, allocations: 122.9 kB / 0.8164 GB, free: 1.582 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.7883, allocations: 59.36 kB / 0.8164 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.7885, allocations: 115.5 kB / 0.8166 GB, free: 1.391 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.7885, allocations: 25.7 kB / 0.8166 GB, free: 1.359 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.7885, allocations: 96.5 kB / 0.8167 GB, free: 1.262 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.7886, allocations: 39.36 kB / 0.8167 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.7886, allocations: 0 / 0.8167 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7887, allocations: 326.8 kB / 0.817 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.7888, allocations: 39.98 kB / 0.8171 GB, free: 0.8555 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.7889, allocations: 32 kB / 0.8171 GB, free: 0.8242 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.898e-05/0.789, allocations: 43.97 kB / 0.8171 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.789, allocations: 0 / 0.8171 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002168/0.7892, allocations: 135.6 kB / 0.8173 GB, free: 0.6406 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7892, allocations: 4 kB / 0.8173 GB, free: 0.6367 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7893, allocations: 0 / 0.8173 GB, free: 0.6367 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7893, allocations: 7.984 kB / 0.8173 GB, free: 0.6289 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.7898, allocations: 83.94 kB / 0.8174 GB, free: 0.5469 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7898, allocations: 3.984 kB / 0.8174 GB, free: 0.543 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.7899, allocations: 23.84 kB / 0.8174 GB, free: 0.5195 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.7899, allocations: 4 kB / 0.8174 GB, free: 0.5156 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.79, allocations: 112.6 kB / 0.8175 GB, free: 408 kB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002164/0.7902, allocations: 121.5 kB / 0.8176 GB, free: 280 kB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.7903, allocations: 7.906 kB / 0.8176 GB, free: 272 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.7906, allocations: 146.2 kB / 0.8178 GB, free: 116 kB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7906, allocations: 15.94 kB / 0.8178 GB, free: 100 kB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7906, allocations: 0 / 0.8178 GB, free: 100 kB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7906, allocations: 0 / 0.8178 GB, free: 100 kB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.7912, allocations: 427.3 kB / 0.8182 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7912, allocations: 0 / 0.8182 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.7917, allocations: 87.91 kB / 0.8183 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7917, allocations: 3.984 kB / 0.8183 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.7917, allocations: 7.953 kB / 0.8183 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7917, allocations: 0 / 0.8183 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7918, allocations: 3.281 kB / 0.8183 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.7922, allocations: 306.8 kB / 0.8186 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.7922, allocations: 89.02 kB / 0.8187 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.7922, allocations: 3.953 kB / 0.8187 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.7924, allocations: 12.03 kB / 0.8187 GB, free: 15.09 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.7924, allocations: 7.984 kB / 0.8187 GB, free: 15.09 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.7924, allocations: 8 kB / 0.8187 GB, free: 15.08 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.7925, allocations: 109.4 kB / 0.8188 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7925, allocations: 0 / 0.8188 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003354/0.7929, allocations: 43.94 kB / 0.8188 GB, free: 14.93 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (noise.y_,noise.y,slidingMean.integral) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.794, allocations: 0.9949 MB / 0.8198 GB, free: 13.93 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.7942, allocations: 99.97 kB / 0.8199 GB, free: 13.83 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7942, allocations: 0 / 0.8199 GB, free: 13.83 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.7943, allocations: 55.92 kB / 0.82 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.7945, allocations: 4 kB / 0.82 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.7958, allocations: 412.6 kB / 0.8203 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.7962, allocations: 0.7121 MB / 0.821 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.7963, allocations: 28.52 kB / 0.8211 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.7964, allocations: 35.42 kB / 0.8211 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of SimCode: time 2.4e-07/0.7964, allocations: 0 / 0.8211 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.8228, allocations: 2.446 MB / 0.8235 GB, free: 10.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.8231, allocations: 162.5 kB / 0.8236 GB, free: 9.91 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.63, allocations: 1.203 kB / 0.8237 GB, free: 9.91 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestSlidingmean.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat does not exist to compare? outputFormat=mat