Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.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.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DT_mean|DT_wi|DT_wo|T_i.amplitude|T_i.falling|T_i.nperiod|T_i.offset|T_i.period|T_i.rising|T_i.startTime|T_i.width|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="DT_mean|DT_wi|DT_wo|T_i.amplitude|T_i.falling|T_i.nperiod|T_i.offset|T_i.period|T_i.rising|T_i.startTime|T_i.width|T_i.y|T_i1|T_o.amplitude|T_o.falling|T_o.nperiod|T_o.offset|T_o.period|T_o.rising|T_o.startTime|T_o.width|T_o.y|T_w|Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001576, allocations: 175.1 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.602/1.602, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.001295/0.001295, allocations: 94.78 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.1117/0.1117, allocations: 20.17 MB / 356.6 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.37/1.37, allocations: 127.5 MB / 0.5284 GB, free: 15.94 MB / 362.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 5.166e-05/5.168e-05, allocations: 4 kB / 0.618 GB, free: 4.047 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6311, allocations: 82.84 MB / 0.6989 GB, free: 32.23 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.8511, allocations: 120.1 MB / 0.8161 GB, free: 1.141 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.8515, allocations: 85.56 kB / 0.8162 GB, free: 1.062 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.865, allocations: 3.71 MB / 0.8198 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.893e-06/0.865, allocations: 0 / 0.8198 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.865, allocations: 4 kB / 0.8198 GB, free: 13.43 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.001056/0.8661, allocations: 0.5337 MB / 0.8204 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.8662, allocations: 8.75 kB / 0.8204 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.8663, allocations: 15.86 kB / 0.8204 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.8665, allocations: 188.2 kB / 0.8206 GB, free: 12.6 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.8665, allocations: 3.938 kB / 0.8206 GB, free: 12.6 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.8665, allocations: 15.94 kB / 0.8206 GB, free: 12.58 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.8667, allocations: 87.44 kB / 0.8207 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.8668, allocations: 2.625 kB / 0.8207 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.8668, allocations: 4 kB / 0.8207 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8668, allocations: 1.25 kB / 0.8207 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.867, allocations: 67.98 kB / 0.8207 GB, free: 12.42 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.8675, allocations: 357.9 kB / 0.8211 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.8678, allocations: 107.7 kB / 0.8212 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.868, allocations: 64.84 kB / 0.8212 GB, free: 11.84 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.868, allocations: 4.141 kB / 0.8212 GB, free: 11.84 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.8683, allocations: 114.8 kB / 0.8214 GB, free: 11.72 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.8683, allocations: 0 / 0.8214 GB, free: 11.72 MB / 0.5574 GB Notification: Performance of matching and sorting (n=13): time 0.0003407/0.8686, allocations: 149.4 kB / 0.8215 GB, free: 11.57 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.8687, allocations: 55.41 kB / 0.8215 GB, free: 11.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.8688, allocations: 139.9 kB / 0.8217 GB, free: 11.35 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.8689, allocations: 33.7 kB / 0.8217 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.869, allocations: 100.7 kB / 0.8218 GB, free: 11.21 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.869, allocations: 42.59 kB / 0.8218 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.869, allocations: 8 kB / 0.8219 GB, free: 11.16 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8692, allocations: 322.8 kB / 0.8222 GB, free: 10.84 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.8693, allocations: 44 kB / 0.8222 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.8694, allocations: 62.64 kB / 0.8223 GB, free: 10.73 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.8696, allocations: 91.64 kB / 0.8224 GB, free: 10.63 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8696, allocations: 0 / 0.8224 GB, free: 10.63 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003592/0.8699, allocations: 225.7 kB / 0.8226 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.87, allocations: 63.41 kB / 0.8226 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.87, allocations: 0 / 0.8226 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.87, allocations: 0 / 0.8226 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.8704, allocations: 63.97 kB / 0.8227 GB, free: 10.26 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8704, allocations: 3.953 kB / 0.8227 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.8707, allocations: 71.5 kB / 0.8228 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.8707, allocations: 4 kB / 0.8228 GB, free: 10.18 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,$PRE.T_i.T_start,T_i.T_start,$PRE.T_i.count,T_i.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001013/0.8709, allocations: 118.5 kB / 0.8229 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.8709, allocations: 15.81 kB / 0.8229 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.8712, allocations: 162 kB / 0.823 GB, free: 9.879 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8713, allocations: 0 / 0.823 GB, free: 9.879 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8713, allocations: 0 / 0.823 GB, free: 9.879 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8713, allocations: 3.953 kB / 0.8231 GB, free: 9.875 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.8715, allocations: 229.5 kB / 0.8233 GB, free: 9.602 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8715, allocations: 3.938 kB / 0.8233 GB, free: 9.598 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.8719, allocations: 63.94 kB / 0.8233 GB, free: 9.535 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8719, allocations: 4 kB / 0.8233 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.8719, allocations: 0 / 0.8233 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8719, allocations: 1.75 kB / 0.8233 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8719, allocations: 0 / 0.8233 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.8722, allocations: 176.9 kB / 0.8235 GB, free: 9.34 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.8723, allocations: 92.95 kB / 0.8236 GB, free: 9.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.8723, allocations: 4 kB / 0.8236 GB, free: 9.227 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.8726, allocations: 51.94 kB / 0.8237 GB, free: 9.176 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.8727, allocations: 35.89 kB / 0.8237 GB, free: 9.141 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.8727, allocations: 4 kB / 0.8237 GB, free: 9.137 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.742e-05/0.8728, allocations: 124.9 kB / 0.8238 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8728, allocations: 0 / 0.8238 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002484/0.8731, allocations: 47.98 kB / 0.8239 GB, free: 8.969 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002405/0.8733, allocations: 116.5 kB / 0.824 GB, free: 8.848 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.8737, allocations: 222.8 kB / 0.8242 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8737, allocations: 0 / 0.8242 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.8739, allocations: 63.98 kB / 0.8242 GB, free: 8.543 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.8741, allocations: 34.09 kB / 0.8243 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.8745, allocations: 161.7 kB / 0.8244 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.8748, allocations: 0.7087 MB / 0.8251 GB, free: 7.598 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 9.29e-05/0.8749, allocations: 17.2 kB / 0.8251 GB, free: 7.578 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.875, allocations: 15.44 kB / 0.8251 GB, free: 7.566 MB / 0.5574 GB Notification: Performance of SimCode: time 4.81e-07/0.875, allocations: 0 / 0.8251 GB, free: 7.566 MB / 0.5574 GB Notification: Performance of Templates: time 0.005044/0.8801, allocations: 2.247 MB / 0.8273 GB, free: 5.387 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.mat","../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches