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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006316/0.006315, allocations: 178.5 kB / 7.463 MB, free: 2.484 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.677/1.677, allocations: 221.4 MB / 229.3 MB, free: 2.98 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.001096/0.001096, allocations: 98.72 kB / 280.1 MB, free: 1.211 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1094/0.1094, allocations: 20.18 MB / 351.1 MB, free: 10.28 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.18/1.18, allocations: 127.6 MB / 0.5229 GB, free: 4.727 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.249e-05, allocations: 4 kB / 0.6104 GB, free: 10.92 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6432, allocations: 82.82 MB / 0.6913 GB, free: 33.71 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.8386, allocations: 119.3 MB / 0.8078 GB, free: 6.375 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.839, allocations: 93.8 kB / 0.8079 GB, free: 6.285 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.02039/0.8594, allocations: 6.038 MB / 0.8138 GB, free: 316 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.8595, allocations: 4.469 kB / 0.8138 GB, free: 312 kB / 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.001066/0.8606, allocations: 428 kB / 0.8142 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001023/0.8607, allocations: 8.031 kB / 0.8142 GB, free: 15.84 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.8608, allocations: 11.81 kB / 0.8142 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.8613, allocations: 201.8 kB / 0.8144 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.8615, allocations: 40.16 kB / 0.8144 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.8616, allocations: 4 kB / 0.8144 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002505/0.8618, allocations: 59.97 kB / 0.8145 GB, free: 15.49 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.862, allocations: 77.66 kB / 0.8146 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.8621, allocations: 0 / 0.8146 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8621, allocations: 0 / 0.8146 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.8621, allocations: 5.75 kB / 0.8146 GB, free: 15.4 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009086/0.863, allocations: 366.7 kB / 0.8149 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.8632, allocations: 85.69 kB / 0.815 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.8634, allocations: 47.08 kB / 0.815 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.8634, allocations: 7.969 kB / 0.815 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.8635, allocations: 36.58 kB / 0.8151 GB, free: 14.82 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.8635, allocations: 4 kB / 0.8151 GB, free: 14.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0004477/0.8639, allocations: 118.5 kB / 0.8152 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.864, allocations: 55.41 kB / 0.8152 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.8641, allocations: 117 kB / 0.8154 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.8642, allocations: 25.7 kB / 0.8154 GB, free: 14.48 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.8642, allocations: 92.48 kB / 0.8155 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.8643, allocations: 43.36 kB / 0.8155 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.8643, allocations: 0 / 0.8155 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8645, allocations: 318.8 kB / 0.8158 GB, free: 14.02 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.8646, allocations: 40 kB / 0.8159 GB, free: 13.98 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.8647, allocations: 35.98 kB / 0.8159 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.8648, allocations: 46.14 kB / 0.8159 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8648, allocations: 0 / 0.8159 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002723/0.8651, allocations: 145.3 kB / 0.8161 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.8651, allocations: 4.625 kB / 0.8161 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8651, allocations: 0 / 0.8161 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.8652, allocations: 1.938 kB / 0.8161 GB, free: 13.76 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.8657, allocations: 90.5 kB / 0.8162 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.8658, allocations: 3.984 kB / 0.8162 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.8659, allocations: 13.75 kB / 0.8162 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.8659, allocations: 14.16 kB / 0.8162 GB, free: 13.65 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 0.0001008/0.866, allocations: 109.4 kB / 0.8163 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.8661, allocations: 12.45 kB / 0.8163 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.8665, allocations: 159.9 kB / 0.8165 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8666, allocations: 4 kB / 0.8165 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8666, allocations: 0.8438 kB / 0.8165 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8666, allocations: 0 / 0.8165 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.8672, allocations: 420.7 kB / 0.8169 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8672, allocations: 8.438 kB / 0.8169 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/0.8678, allocations: 86.56 kB / 0.817 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.8678, allocations: 5.375 kB / 0.817 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8679, allocations: 7.922 kB / 0.817 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.8679, allocations: 5.781 kB / 0.817 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.8679, allocations: 4 kB / 0.817 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004836/0.8684, allocations: 309.7 kB / 0.8173 GB, free: 12.48 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.8685, allocations: 89.09 kB / 0.8174 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.8685, allocations: 0 / 0.8174 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.8687, allocations: 13.64 kB / 0.8174 GB, free: 12.36 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.8687, allocations: 15.89 kB / 0.8174 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.8688, allocations: 8 kB / 0.8174 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.603e-05/0.8689, allocations: 99.75 kB / 0.8175 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004596/0.8694, allocations: 43.92 kB / 0.8175 GB, free: 12.2 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.0006386/0.87, allocations: 174.5 kB / 0.8177 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.8703, allocations: 100.6 kB / 0.8178 GB, free: 11.96 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8703, allocations: 4 kB / 0.8178 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.8704, allocations: 61.08 kB / 0.8179 GB, free: 11.89 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.8706, allocations: 1.25 kB / 0.8179 GB, free: 11.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.872, allocations: 351.8 kB / 0.8182 GB, free: 11.53 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.8725, allocations: 0.7256 MB / 0.8189 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of SimCode: time 9.32e-07/0.8725, allocations: 0 / 0.8189 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of Templates: time 0.005849/0.8784, allocations: 1.705 MB / 0.8206 GB, free: 9.152 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