Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.testRandomGenerators2,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|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp3.duration|ramp3.height|ramp3.offset|ramp3.startTime|ramp3.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,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|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp3.duration|ramp3.height|ramp3.offset|ramp3.startTime|ramp3.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, 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.63/1.63, 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.001119/0.001119, allocations: 85.44 kB / 285.6 MB, free: 13 MB / 234.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.17 MB / 356.7 MB, free: 5.926 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.356/1.356, allocations: 127.5 MB / 0.5284 GB, free: 15.93 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.799e-05, allocations: 7.984 kB / 0.618 GB, free: 4.035 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6278, allocations: 82.84 MB / 0.6989 GB, free: 31.91 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.8279, allocations: 119.3 MB / 0.8154 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.8283, allocations: 95.91 kB / 0.8155 GB, free: 1.777 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.847, allocations: 6.051 MB / 0.8214 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.234e-06/0.847, allocations: 1.281 kB / 0.8214 GB, free: 11.75 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.8471, allocations: 0 / 0.8214 GB, free: 11.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000814/0.8479, allocations: 432.7 kB / 0.8218 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.848, allocations: 9.812 kB / 0.8218 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.8481, allocations: 11.91 kB / 0.8219 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.8484, allocations: 194.8 kB / 0.822 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.8485, allocations: 37.7 kB / 0.8221 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.8485, allocations: 4.688 kB / 0.8221 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8488, allocations: 74.56 kB / 0.8221 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8488, allocations: 4 kB / 0.8222 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.8488, allocations: 4 kB / 0.8222 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.8488, allocations: 0.6875 kB / 0.8222 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.849, allocations: 43.98 kB / 0.8222 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.8499, allocations: 389.1 kB / 0.8226 GB, free: 10.43 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.85, allocations: 72.88 kB / 0.8226 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.8501, allocations: 44.92 kB / 0.8227 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.8502, allocations: 0 / 0.8227 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.8502, allocations: 31.12 kB / 0.8227 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.8502, allocations: 1.156 kB / 0.8227 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8): time 0.0003551/0.8506, allocations: 102.9 kB / 0.8228 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.8506, allocations: 60.41 kB / 0.8229 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8508, allocations: 115.5 kB / 0.823 GB, free: 9.977 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8508, allocations: 30.77 kB / 0.823 GB, free: 9.941 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.8509, allocations: 100.2 kB / 0.8231 GB, free: 9.836 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.851, allocations: 23.62 kB / 0.8231 GB, free: 9.812 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.851, allocations: 0.5 kB / 0.8231 GB, free: 9.812 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8512, allocations: 323.7 kB / 0.8234 GB, free: 9.488 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.8512, allocations: 28.88 kB / 0.8235 GB, free: 9.461 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.8513, allocations: 31.92 kB / 0.8235 GB, free: 9.43 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.8514, allocations: 34.33 kB / 0.8235 GB, free: 9.398 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8514, allocations: 0.5 kB / 0.8235 GB, free: 9.398 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002574/0.8517, allocations: 114.3 kB / 0.8236 GB, free: 9.281 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8517, allocations: 8 kB / 0.8236 GB, free: 9.273 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.8518, allocations: 6.625 kB / 0.8237 GB, free: 9.273 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8518, allocations: 0 / 0.8237 GB, free: 9.273 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.8524, allocations: 93.84 kB / 0.8237 GB, free: 9.184 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8524, allocations: 0 / 0.8237 GB, free: 9.184 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.8526, allocations: 21.92 kB / 0.8238 GB, free: 9.164 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.8527, allocations: 7.984 kB / 0.8238 GB, free: 9.156 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 (10): * Single equations (assignments): 10 * 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.0001197/0.8528, allocations: 110 kB / 0.8239 GB, free: 9.043 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.8528, allocations: 8.938 kB / 0.8239 GB, free: 9.035 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.8529, allocations: 8.625 kB / 0.8239 GB, free: 9.027 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8529, allocations: 0 / 0.8239 GB, free: 9.027 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8529, allocations: 5.453 kB / 0.8239 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8529, allocations: 11.41 kB / 0.8239 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.8533, allocations: 201.7 kB / 0.8241 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8533, allocations: 0 / 0.8241 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.854, allocations: 84.05 kB / 0.8242 GB, free: 8.691 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.854, allocations: 1.109 kB / 0.8242 GB, free: 8.691 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.854, allocations: 7.938 kB / 0.8242 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.854, allocations: 0.5 kB / 0.8242 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.854, allocations: 0 / 0.8242 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.8545, allocations: 251.8 kB / 0.8244 GB, free: 8.426 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.8545, allocations: 82.3 kB / 0.8245 GB, free: 8.328 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.8546, allocations: 3.984 kB / 0.8245 GB, free: 8.324 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.8547, allocations: 29.64 kB / 0.8245 GB, free: 8.297 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.8548, allocations: 7.984 kB / 0.8245 GB, free: 8.289 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.8548, allocations: 0.5625 kB / 0.8245 GB, free: 8.289 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.8549, allocations: 104.8 kB / 0.8246 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8549, allocations: 0 / 0.8246 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003422/0.8553, allocations: 36.48 kB / 0.8247 GB, free: 8.152 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002978/0.8556, allocations: 136.2 kB / 0.8248 GB, free: 8.008 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.8558, allocations: 77.67 kB / 0.8249 GB, free: 7.934 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8558, allocations: 0 / 0.8249 GB, free: 7.934 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.8559, allocations: 36 kB / 0.8249 GB, free: 7.898 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.8562, allocations: 11.98 kB / 0.8249 GB, free: 7.887 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.8566, allocations: 151.3 kB / 0.8251 GB, free: 7.723 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.857, allocations: 0.7019 MB / 0.8258 GB, free: 6.996 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 9.779e-05/0.8571, allocations: 15.97 kB / 0.8258 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.8572, allocations: 12.28 kB / 0.8258 GB, free: 6.969 MB / 0.5574 GB Notification: Performance of SimCode: time 3.71e-07/0.8572, allocations: 0 / 0.8258 GB, free: 6.969 MB / 0.5574 GB Notification: Performance of Templates: time 0.004576/0.8618, allocations: 1.251 MB / 0.827 GB, free: 5.789 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.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.testRandomGenerators2_res.mat. Warning: Get data of variable Time_bak from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_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,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.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,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,time