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: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|noise.Tau_sample|noise.Tau_smooth|der.noise.y.|noise.m_in|noise.mean|noise.mean_const|noise.sigma|noise.startTime|noise.stdDev_const|noise.stdDev_in|noise.varMeanValue|noise.varStandardDeviation|noise.y|slidingMean.Tau_mean|slidingMean.u|slidingMean.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|noise.Tau_sample|noise.Tau_smooth|der.noise.y.|noise.m_in|noise.mean|noise.mean_const|noise.sigma|noise.startTime|noise.stdDev_const|noise.stdDev_in|noise.varMeanValue|noise.varStandardDeviation|noise.y|slidingMean.Tau_mean|slidingMean.u|slidingMean.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 91.61 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09341/0.09341, allocations: 20.17 MB / 356.7 MB, free: 5.914 MB / 298.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: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_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_L3 TubeType_L2 TubeType_L3 ShellType_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 1.204/1.204, allocations: 127.5 MB / 0.5284 GB, free: 15.93 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.662e-05, allocations: 4.219 kB / 0.618 GB, free: 4.051 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.587, allocations: 82.85 MB / 0.6989 GB, free: 32.17 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.7631, allocations: 120 MB / 0.8161 GB, free: 1.215 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.7634, allocations: 87.94 kB / 0.8161 GB, free: 1.129 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.7816, allocations: 6.414 MB / 0.8224 GB, free: 10.74 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7817, allocations: 0 / 0.8224 GB, free: 10.74 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7817, allocations: 0 / 0.8224 GB, free: 10.74 MB / 0.5574 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.0005465/0.7823, allocations: 424.2 kB / 0.8228 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.7823, allocations: 13.38 kB / 0.8228 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.7824, allocations: 15.8 kB / 0.8228 GB, free: 10.26 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.7826, allocations: 203.4 kB / 0.823 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.7827, allocations: 34.64 kB / 0.8231 GB, free: 9.984 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.7827, allocations: 11.94 kB / 0.8231 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.7829, allocations: 87.34 kB / 0.8232 GB, free: 9.883 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.783, allocations: 0.5625 kB / 0.8232 GB, free: 9.883 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.783, allocations: 4.906 kB / 0.8232 GB, free: 9.879 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.783, allocations: 0 / 0.8232 GB, free: 9.879 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.7831, allocations: 63.97 kB / 0.8232 GB, free: 9.816 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.7838, allocations: 400.3 kB / 0.8236 GB, free: 9.379 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.784, allocations: 108.1 kB / 0.8237 GB, free: 9.266 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.7841, allocations: 50.05 kB / 0.8238 GB, free: 9.215 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.7841, allocations: 4 kB / 0.8238 GB, free: 9.211 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.7842, allocations: 31.38 kB / 0.8238 GB, free: 9.172 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 6.261e-06/0.7842, allocations: 5.078 kB / 0.8238 GB, free: 9.168 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0002857/0.7845, allocations: 134 kB / 0.8239 GB, free: 9.031 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7845, allocations: 56.25 kB / 0.824 GB, free: 8.965 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.7846, allocations: 122.6 kB / 0.8241 GB, free: 8.836 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.7847, allocations: 26.48 kB / 0.8241 GB, free: 8.805 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.7847, allocations: 96.5 kB / 0.8242 GB, free: 8.707 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.7848, allocations: 44.48 kB / 0.8243 GB, free: 8.664 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.7848, allocations: 0 / 0.8243 GB, free: 8.664 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7849, allocations: 323.4 kB / 0.8246 GB, free: 8.34 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.785, allocations: 41.66 kB / 0.8246 GB, free: 8.301 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.7851, allocations: 36.97 kB / 0.8246 GB, free: 8.266 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.7852, allocations: 45.67 kB / 0.8247 GB, free: 8.223 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7852, allocations: 0 / 0.8247 GB, free: 8.223 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002259/0.7854, allocations: 153.9 kB / 0.8248 GB, free: 8.07 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.7854, allocations: 4 kB / 0.8248 GB, free: 8.066 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7854, allocations: 0 / 0.8248 GB, free: 8.066 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7855, allocations: 3.953 kB / 0.8248 GB, free: 8.062 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.7859, allocations: 86.89 kB / 0.8249 GB, free: 7.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.786, allocations: 7.938 kB / 0.8249 GB, free: 7.973 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.7861, allocations: 16.97 kB / 0.8249 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.7861, allocations: 11.98 kB / 0.825 GB, free: 7.945 MB / 0.5574 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 7.945e-05/0.7862, allocations: 112.2 kB / 0.8251 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.7862, allocations: 8.938 kB / 0.8251 GB, free: 7.824 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.7865, allocations: 152.5 kB / 0.8252 GB, free: 7.668 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7865, allocations: 4 kB / 0.8252 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7866, allocations: 3.953 kB / 0.8252 GB, free: 7.66 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7866, allocations: 0.8438 kB / 0.8252 GB, free: 7.66 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.7871, allocations: 465.1 kB / 0.8257 GB, free: 7.148 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7871, allocations: 4 kB / 0.8257 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.7876, allocations: 95.73 kB / 0.8258 GB, free: 7.055 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7877, allocations: 1.406 kB / 0.8258 GB, free: 7.055 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.7877, allocations: 6.453 kB / 0.8258 GB, free: 7.051 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.7877, allocations: 4 kB / 0.8258 GB, free: 7.047 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7877, allocations: 0 / 0.8258 GB, free: 7.047 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.7881, allocations: 313.7 kB / 0.8261 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.7882, allocations: 93.94 kB / 0.8262 GB, free: 6.609 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.7882, allocations: 8 kB / 0.8262 GB, free: 6.602 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7883, allocations: 9.312 kB / 0.8262 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.7884, allocations: 19.91 kB / 0.8262 GB, free: 6.574 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.7884, allocations: 5.156 kB / 0.8262 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.7885, allocations: 96.41 kB / 0.8263 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7885, allocations: 2.406 kB / 0.8263 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003042/0.7888, allocations: 47.92 kB / 0.8263 GB, free: 6.43 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.0004554/0.7892, allocations: 190.8 kB / 0.8265 GB, free: 6.277 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.7895, allocations: 108.6 kB / 0.8266 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7895, allocations: 1.594 kB / 0.8266 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.7896, allocations: 63.92 kB / 0.8267 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.7898, allocations: 9.094 kB / 0.8267 GB, free: 6.102 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.7908, allocations: 355 kB / 0.827 GB, free: 5.734 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.7911, allocations: 0.7098 MB / 0.8277 GB, free: 4.996 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.7912, allocations: 27.17 kB / 0.8278 GB, free: 4.969 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.7912, allocations: 22.81 kB / 0.8278 GB, free: 4.949 MB / 0.5574 GB Notification: Performance of SimCode: time 2.41e-07/0.7912, allocations: 0 / 0.8278 GB, free: 4.949 MB / 0.5574 GB Notification: Performance of Templates: time 0.004096/0.7953, allocations: 1.495 MB / 0.8292 GB, free: 3.52 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.makefile (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 & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable Time_bak in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat. Warning: Get data of variable Time_bak from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestSlidingmean_res.mat failed! " Variables in the reference:Time,Time_bak,noise.Tau_sample,noise.Tau_smooth,der(noise.y),noise.m_in,noise.mean,noise.mean_const,noise.sigma,noise.startTime,noise.stdDev_const,noise.stdDev_in,noise.varMeanValue,noise.varStandardDeviation,noise.y,slidingMean.Tau_mean,slidingMean.u,slidingMean.y,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y Variables in the result:der(noise.y),noise.Tau_sample,noise.Tau_smooth,noise.m_in,noise.mean,noise.mean_const,noise.sigma,noise.startTime,noise.stdDev_const,noise.stdDev_in,noise.varMeanValue,noise.varStandardDeviation,noise.y,slidingMean.Tau_mean,slidingMean.u,slidingMean.u_start,slidingMean.y,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time