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("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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"}) [/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: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/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: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/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.9415/0.9415, allocations: 127.1 MB / 142 MB, free: 10.61 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.00099, allocations: 88.23 kB / 169.3 MB, free: 11.79 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.9 kB / 196.6 MB, free: 0.6133 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 223.1 MB / 446.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1009/0.1009, allocations: 22.58 MB / 0.5342 GB, free: 0.8164 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0008187/0.0008184, allocations: 23.19 kB / 0.6274 GB, free: 80.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2015, allocations: 83.48 MB / 0.7089 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean): time 0.002611/0.2042, allocations: 1.868 MB / 0.7107 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.2049, allocations: 422.9 kB / 0.7111 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.205, allocations: 4 kB / 0.7111 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2051, allocations: 11.88 kB / 0.7112 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2052, allocations: 11.97 kB / 0.7112 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.2056, allocations: 111.8 kB / 0.7113 GB, free: 2.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2058, allocations: 55.88 kB / 0.7113 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2059, allocations: 12.27 kB / 0.7113 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.206, allocations: 43.83 kB / 0.7114 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.2061, allocations: 39.83 kB / 0.7114 GB, free: 2.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2061, allocations: 4 kB / 0.7114 GB, free: 2.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.2062, allocations: 63.89 kB / 0.7115 GB, free: 2.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.2063, allocations: 27.89 kB / 0.7115 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.2063, allocations: 41.64 kB / 0.7115 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2065, allocations: 103.7 kB / 0.7116 GB, free: 1.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2065, allocations: 0 / 0.7116 GB, free: 1.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2065, allocations: 0 / 0.7116 GB, free: 1.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2065, allocations: 0 / 0.7116 GB, free: 1.859 MB / 462.1 MB 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.0005878/0.2071, allocations: 415 kB / 0.712 GB, free: 1.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2072, allocations: 12.02 kB / 0.7121 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2072, allocations: 42.55 kB / 0.7121 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2073, allocations: 7.906 kB / 0.7121 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.2075, allocations: 202.8 kB / 0.7123 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.2075, allocations: 33.7 kB / 0.7123 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.2076, allocations: 12 kB / 0.7123 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.2078, allocations: 109.6 kB / 0.7124 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2078, allocations: 0 / 0.7124 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.2079, allocations: 4 kB / 0.7124 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2079, allocations: 0 / 0.7124 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.2081, allocations: 99.92 kB / 0.7125 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.2087, allocations: 404.4 kB / 0.7129 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.209, allocations: 122.5 kB / 0.713 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.209, allocations: 11.94 kB / 0.7131 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.209, allocations: 38.59 kB / 0.7131 GB, free: 204 kB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.2091, allocations: 0 / 0.7131 GB, free: 204 kB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005426/0.2096, allocations: 220.8 kB / 0.7133 GB, free: 15.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2097, allocations: 55.41 kB / 0.7134 GB, free: 15.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2098, allocations: 128.3 kB / 0.7135 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2098, allocations: 29.7 kB / 0.7135 GB, free: 15.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2099, allocations: 92.36 kB / 0.7136 GB, free: 15.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.2099, allocations: 51.44 kB / 0.7136 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.21, allocations: 0 / 0.7136 GB, free: 15.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2101, allocations: 326.8 kB / 0.714 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2103, allocations: 59.95 kB / 0.714 GB, free: 15.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2104, allocations: 61.17 kB / 0.7141 GB, free: 15.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2106, allocations: 71.97 kB / 0.7141 GB, free: 15.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2106, allocations: 3.953 kB / 0.7141 GB, free: 15.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003664/0.2109, allocations: 187.4 kB / 0.7143 GB, free: 14.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.211, allocations: 6.188 kB / 0.7143 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.211, allocations: 0 / 0.7143 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.211, allocations: 0 / 0.7143 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.2115, allocations: 91.88 kB / 0.7144 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2115, allocations: 0 / 0.7144 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.2116, allocations: 15.89 kB / 0.7144 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2116, allocations: 7.984 kB / 0.7144 GB, free: 14.77 MB / 478.1 MB 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 () * Number of clocked 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 9.917e-05/0.2117, allocations: 121.8 kB / 0.7146 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.2117, allocations: 19.84 kB / 0.7146 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.2122, allocations: 210.1 kB / 0.7148 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2122, allocations: 0 / 0.7148 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2122, allocations: 4 kB / 0.7148 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2122, allocations: 0 / 0.7148 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.2129, allocations: 498 kB / 0.7153 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2129, allocations: 7.922 kB / 0.7153 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.2134, allocations: 83.97 kB / 0.7153 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2134, allocations: 8 kB / 0.7153 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2134, allocations: 0 / 0.7153 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2134, allocations: 0 / 0.7153 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2135, allocations: 4 kB / 0.7154 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.214, allocations: 388.7 kB / 0.7157 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.2141, allocations: 88.95 kB / 0.7158 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2141, allocations: 4 kB / 0.7158 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2142, allocations: 19.98 kB / 0.7158 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2143, allocations: 12.02 kB / 0.7158 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2143, allocations: 8 kB / 0.7158 GB, free: 13.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.2144, allocations: 95.27 kB / 0.7159 GB, free: 13.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2144, allocations: 3.938 kB / 0.7159 GB, free: 13.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.2147, allocations: 32 kB / 0.716 GB, free: 13.09 MB / 478.1 MB 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 () * Number of clocked 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.001336/0.216, allocations: 1.057 MB / 0.717 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.2164, allocations: 147.9 kB / 0.7171 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2164, allocations: 0 / 0.7171 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2166, allocations: 83.97 kB / 0.7172 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2168, allocations: 4 kB / 0.7172 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.2176, allocations: 0.5513 MB / 0.7178 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.218, allocations: 0.7123 MB / 0.7185 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.2181, allocations: 24.53 kB / 0.7185 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.2182, allocations: 35.42 kB / 0.7185 GB, free: 10.39 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2182, allocations: 0 / 0.7185 GB, free: 10.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.2316, allocations: 2.691 MB / 0.7212 GB, free: 7.816 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.2318, allocations: 217.7 kB / 0.7214 GB, free: 7.574 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.117, allocations: 3.938 kB / 0.7214 GB, free: 7.57 MB / 478.1 MB (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) Environment - environmentSimulation: 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