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.00178/0.00178, allocations: 180.9 kB / 7.651 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.624/1.624, allocations: 221.5 MB / 229.6 MB, free: 7.602 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.0009928/0.0009925, allocations: 83 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09056/0.09056, allocations: 20.17 MB / 351.4 MB, free: 11.02 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: 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 0.8647/0.8647, allocations: 127.6 MB / 0.5233 GB, free: 1.035 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.752e-05, allocations: 4 kB / 0.611 GB, free: 7.828 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6497, allocations: 82.86 MB / 0.6919 GB, free: 3.172 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.8448, allocations: 119.3 MB / 0.8085 GB, free: 9.883 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.8451, allocations: 95.8 kB / 0.8086 GB, free: 9.793 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.865, allocations: 6.4 MB / 0.8148 GB, free: 3.379 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8651, allocations: 0 / 0.8148 GB, free: 3.379 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.8651, allocations: 4 kB / 0.8148 GB, free: 3.375 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.0006843/0.8658, allocations: 426.1 kB / 0.8152 GB, free: 2.914 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.8659, allocations: 12.02 kB / 0.8153 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.866, allocations: 15.81 kB / 0.8153 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.8663, allocations: 198.9 kB / 0.8155 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.8664, allocations: 33.7 kB / 0.8155 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.8664, allocations: 4 kB / 0.8155 GB, free: 2.609 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/0.8666, allocations: 59.97 kB / 0.8156 GB, free: 2.551 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.8668, allocations: 85.16 kB / 0.8156 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.8668, allocations: 0 / 0.8156 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.8669, allocations: 0 / 0.8156 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8669, allocations: 4 kB / 0.8156 GB, free: 2.461 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.8677, allocations: 373.1 kB / 0.816 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.8679, allocations: 98.59 kB / 0.8161 GB, free: 1.953 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.868, allocations: 44.86 kB / 0.8161 GB, free: 1.906 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.8681, allocations: 4 kB / 0.8161 GB, free: 1.902 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.8681, allocations: 30.56 kB / 0.8162 GB, free: 1.863 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.8681, allocations: 0 / 0.8162 GB, free: 1.863 MB / 0.5418 GB Notification: Performance of matching and sorting (n=12): time 0.0003974/0.8685, allocations: 123.1 kB / 0.8163 GB, free: 1.738 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.8686, allocations: 55.36 kB / 0.8163 GB, free: 1.672 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8687, allocations: 117.2 kB / 0.8164 GB, free: 1.547 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.8688, allocations: 25.7 kB / 0.8165 GB, free: 1.516 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.8688, allocations: 104.5 kB / 0.8166 GB, free: 1.41 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.8689, allocations: 43.36 kB / 0.8166 GB, free: 1.367 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.8689, allocations: 4 kB / 0.8166 GB, free: 1.363 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8691, allocations: 318.8 kB / 0.8169 GB, free: 1.043 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.8691, allocations: 35.94 kB / 0.817 GB, free: 1.008 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.8692, allocations: 38.25 kB / 0.817 GB, free: 0.9727 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.8693, allocations: 43.97 kB / 0.817 GB, free: 0.9297 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8693, allocations: 0 / 0.817 GB, free: 0.9297 MB / 0.5418 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002412/0.8696, allocations: 133.5 kB / 0.8172 GB, free: 0.793 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8696, allocations: 8 kB / 0.8172 GB, free: 0.7852 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.8696, allocations: 3.984 kB / 0.8172 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8697, allocations: 0 / 0.8172 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.8702, allocations: 91.88 kB / 0.8173 GB, free: 0.6875 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8702, allocations: 4 kB / 0.8173 GB, free: 0.6836 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.8703, allocations: 19.84 kB / 0.8173 GB, free: 0.6641 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.8703, allocations: 8 kB / 0.8173 GB, free: 0.6562 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 9.114e-05/0.8704, allocations: 108.7 kB / 0.8174 GB, free: 0.543 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.8705, allocations: 7.906 kB / 0.8174 GB, free: 0.5352 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.8708, allocations: 156.4 kB / 0.8175 GB, free: 384 kB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8708, allocations: 0 / 0.8175 GB, free: 384 kB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8708, allocations: 3.938 kB / 0.8176 GB, free: 380 kB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8708, allocations: 0 / 0.8176 GB, free: 380 kB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.8714, allocations: 429.9 kB / 0.818 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.8714, allocations: 3.984 kB / 0.818 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.872, allocations: 87.91 kB / 0.8181 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.872, allocations: 3.984 kB / 0.8181 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.8721, allocations: 8 kB / 0.8181 GB, free: 15.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8721, allocations: 4 kB / 0.8181 GB, free: 15.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.8721, allocations: 3.984 kB / 0.8181 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.8725, allocations: 305.8 kB / 0.8184 GB, free: 15.47 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.8726, allocations: 81.02 kB / 0.8184 GB, free: 15.37 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.8726, allocations: 4 kB / 0.8184 GB, free: 15.37 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8727, allocations: 15.98 kB / 0.8185 GB, free: 15.35 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.8728, allocations: 19.88 kB / 0.8185 GB, free: 15.33 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.8728, allocations: 4 kB / 0.8185 GB, free: 15.33 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.8729, allocations: 101.4 kB / 0.8186 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8729, allocations: 0 / 0.8186 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003261/0.8732, allocations: 39.94 kB / 0.8186 GB, free: 15.19 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.0006045/0.8738, allocations: 177.4 kB / 0.8188 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.8741, allocations: 99.86 kB / 0.8189 GB, free: 14.94 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8741, allocations: 4 kB / 0.8189 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.8743, allocations: 59.92 kB / 0.8189 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.8745, allocations: 5.094 kB / 0.8189 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.876, allocations: 346 kB / 0.8193 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.8764, allocations: 0.716 MB / 0.82 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.8766, allocations: 32.45 kB / 0.82 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.8767, allocations: 15.44 kB / 0.82 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of SimCode: time 2.4e-07/0.8767, allocations: 3.656 kB / 0.82 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of Templates: time 0.005094/0.8818, allocations: 1.432 MB / 0.8214 GB, free: 12.3 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