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.01224/0.01224, allocations: 172.9 kB / 15.12 MB, free: 5.969 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.721/1.721, allocations: 223.2 MB / 239 MB, free: 32 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009196, allocations: 103.7 kB / 290.2 MB, free: 4.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09376/0.09376, allocations: 20.31 MB / 361.6 MB, free: 8.75 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 0.7996/0.7996, allocations: 127.1 MB / 0.533 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 16 kB / 0.6255 GB, free: 0.7852 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 82.85 MB / 0.7064 GB, free: 14.14 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.672/0.9077, allocations: 120.1 MB / 0.8236 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.9081, allocations: 94.94 kB / 0.8237 GB, free: 15.72 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.9268, allocations: 6.441 MB / 0.83 GB, free: 9.273 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9268, allocations: 0 / 0.83 GB, free: 9.273 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.9269, allocations: 0 / 0.83 GB, free: 9.273 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.0007476/0.9276, allocations: 439.5 kB / 0.8304 GB, free: 8.797 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.9277, allocations: 8.031 kB / 0.8304 GB, free: 8.789 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.9278, allocations: 19.77 kB / 0.8305 GB, free: 8.77 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.9281, allocations: 194.9 kB / 0.8306 GB, free: 8.539 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.9282, allocations: 37.7 kB / 0.8307 GB, free: 8.496 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.9283, allocations: 8 kB / 0.8307 GB, free: 8.488 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.9285, allocations: 114.2 kB / 0.8308 GB, free: 8.371 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9286, allocations: 11.89 kB / 0.8308 GB, free: 8.359 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.9286, allocations: 0 / 0.8308 GB, free: 8.359 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9286, allocations: 0 / 0.8308 GB, free: 8.359 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.9289, allocations: 99.89 kB / 0.8309 GB, free: 8.262 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.9297, allocations: 396.6 kB / 0.8313 GB, free: 7.824 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.93, allocations: 130.5 kB / 0.8314 GB, free: 7.688 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.93, allocations: 4 kB / 0.8314 GB, free: 7.684 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.9301, allocations: 38.61 kB / 0.8314 GB, free: 7.637 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.9301, allocations: 0 / 0.8314 GB, free: 7.637 MB / 0.5418 GB Notification: Performance of matching and sorting (n=12): time 0.0006101/0.9307, allocations: 229.5 kB / 0.8317 GB, free: 7.406 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.9307, allocations: 51.41 kB / 0.8317 GB, free: 7.344 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.9309, allocations: 115.4 kB / 0.8318 GB, free: 7.223 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.9309, allocations: 29.7 kB / 0.8319 GB, free: 7.188 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.931, allocations: 92.41 kB / 0.8319 GB, free: 7.094 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.9311, allocations: 51.48 kB / 0.832 GB, free: 7.043 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.9311, allocations: 7.469 kB / 0.832 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9312, allocations: 322.8 kB / 0.8323 GB, free: 6.715 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.9314, allocations: 59.91 kB / 0.8324 GB, free: 6.656 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.9315, allocations: 55.95 kB / 0.8324 GB, free: 6.602 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9317, allocations: 69.81 kB / 0.8325 GB, free: 6.535 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9317, allocations: 0 / 0.8325 GB, free: 6.535 MB / 0.5418 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003677/0.9321, allocations: 181.5 kB / 0.8327 GB, free: 6.352 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.9321, allocations: 6.344 kB / 0.8327 GB, free: 6.348 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9321, allocations: 4 kB / 0.8327 GB, free: 6.344 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9321, allocations: 3.953 kB / 0.8327 GB, free: 6.34 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.9326, allocations: 87.92 kB / 0.8328 GB, free: 6.254 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9326, allocations: 0 / 0.8328 GB, free: 6.254 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.9327, allocations: 23.83 kB / 0.8328 GB, free: 6.23 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.9327, allocations: 4 kB / 0.8328 GB, free: 6.227 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 () * 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 0.0001179/0.9329, allocations: 121.8 kB / 0.8329 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.9329, allocations: 15.91 kB / 0.8329 GB, free: 6.082 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.9334, allocations: 200.3 kB / 0.8331 GB, free: 5.887 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9334, allocations: 7.953 kB / 0.8331 GB, free: 5.879 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9334, allocations: 0 / 0.8331 GB, free: 5.879 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9334, allocations: 0 / 0.8331 GB, free: 5.879 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.9342, allocations: 499.7 kB / 0.8336 GB, free: 5.332 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9342, allocations: 0 / 0.8336 GB, free: 5.332 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.9347, allocations: 91.95 kB / 0.8337 GB, free: 5.242 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.9347, allocations: 3.953 kB / 0.8337 GB, free: 5.238 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.9347, allocations: 7.938 kB / 0.8337 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.9347, allocations: 0 / 0.8337 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9347, allocations: 3.938 kB / 0.8337 GB, free: 5.227 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.9354, allocations: 372.2 kB / 0.834 GB, free: 4.84 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.9354, allocations: 100.9 kB / 0.8341 GB, free: 4.723 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.9355, allocations: 4 kB / 0.8341 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.9356, allocations: 19.98 kB / 0.8342 GB, free: 4.699 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.9356, allocations: 7.984 kB / 0.8342 GB, free: 4.691 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.9357, allocations: 8 kB / 0.8342 GB, free: 4.684 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.9357, allocations: 101.1 kB / 0.8343 GB, free: 4.586 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9357, allocations: 0 / 0.8343 GB, free: 4.586 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003525/0.9361, allocations: 43.94 kB / 0.8343 GB, free: 4.543 MB / 0.5418 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 () * 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.008736/0.9448, allocations: 196.5 kB / 0.8345 GB, free: 4.371 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0007077/0.9456, allocations: 150.8 kB / 0.8346 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.9457, allocations: 0 / 0.8346 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.9459, allocations: 75.91 kB / 0.8347 GB, free: 4.152 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.9462, allocations: 12.06 kB / 0.8347 GB, free: 4.141 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.9478, allocations: 472.5 kB / 0.8352 GB, free: 3.652 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.9482, allocations: 0.7045 MB / 0.8359 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.9483, allocations: 28.47 kB / 0.8359 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.9484, allocations: 23.42 kB / 0.8359 GB, free: 2.863 MB / 0.5418 GB Notification: Performance of SimCode: time 2.104e-06/0.9484, allocations: 0 / 0.8359 GB, free: 2.863 MB / 0.5418 GB Notification: Performance of Templates: time 0.004444/0.9528, allocations: 1.467 MB / 0.8374 GB, free: 1.422 MB / 0.5418 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