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.01064/0.01064, allocations: 172 kB / 15.12 MB, free: 5.973 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.766/1.766, allocations: 223.2 MB / 239 MB, free: 24 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.00126/0.00126, allocations: 108 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1223/0.1223, allocations: 20.32 MB / 361.6 MB, free: 8.758 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.8313/0.8313, allocations: 127.1 MB / 0.533 GB, free: 14.98 MB / 378.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 8 kB / 0.6255 GB, free: 0.7891 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 82.86 MB / 0.7064 GB, free: 14.14 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7202/0.9917, allocations: 120.1 MB / 0.8237 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.9921, allocations: 87.81 kB / 0.8238 GB, free: 15.64 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01344/1.006, allocations: 3.726 MB / 0.8274 GB, free: 11.92 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.635e-06/1.006, allocations: 0 / 0.8274 GB, free: 11.92 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.006, allocations: 4 kB / 0.8274 GB, free: 11.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001175/1.007, allocations: 0.5573 MB / 0.828 GB, free: 11.3 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.007, allocations: 8.031 kB / 0.828 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/1.007, allocations: 19.84 kB / 0.828 GB, free: 11.27 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/1.007, allocations: 194.8 kB / 0.8282 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/1.007, allocations: 11.66 kB / 0.8282 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/1.007, allocations: 7.984 kB / 0.8282 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/1.008, allocations: 186.5 kB / 0.8284 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.008, allocations: 0 / 0.8284 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/1.008, allocations: 4 kB / 0.8284 GB, free: 10.83 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/1.008, allocations: 7.938 kB / 0.8284 GB, free: 10.82 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008764/1.009, allocations: 255.7 kB / 0.8286 GB, free: 10.57 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/1.01, allocations: 360.7 kB / 0.829 GB, free: 10.17 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/1.011, allocations: 282.3 kB / 0.8292 GB, free: 9.887 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/1.011, allocations: 0 / 0.8292 GB, free: 9.887 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/1.011, allocations: 215.2 kB / 0.8294 GB, free: 9.664 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/1.011, allocations: 4 kB / 0.8294 GB, free: 9.66 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.001609/1.013, allocations: 477.9 kB / 0.8299 GB, free: 9.188 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.013, allocations: 55.41 kB / 0.83 GB, free: 9.121 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/1.013, allocations: 146.5 kB / 0.8301 GB, free: 8.965 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/1.013, allocations: 29.7 kB / 0.8301 GB, free: 8.93 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/1.013, allocations: 104.1 kB / 0.8302 GB, free: 8.824 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/1.013, allocations: 39.45 kB / 0.8303 GB, free: 8.785 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/1.013, allocations: 4.328 kB / 0.8303 GB, free: 8.781 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.014, allocations: 322.8 kB / 0.8306 GB, free: 8.457 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/1.014, allocations: 143.9 kB / 0.8307 GB, free: 8.316 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/1.015, allocations: 165.5 kB / 0.8309 GB, free: 8.148 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/1.015, allocations: 191.3 kB / 0.8311 GB, free: 7.949 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.015, allocations: 0 / 0.8311 GB, free: 7.949 MB / 0.5418 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00116/1.016, allocations: 415.7 kB / 0.8314 GB, free: 7.527 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/1.016, allocations: 67.39 kB / 0.8315 GB, free: 7.449 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.016, allocations: 0 / 0.8315 GB, free: 7.449 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.016, allocations: 4 kB / 0.8315 GB, free: 7.445 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/1.017, allocations: 63.97 kB / 0.8316 GB, free: 7.383 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.017, allocations: 11.89 kB / 0.8316 GB, free: 7.371 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/1.017, allocations: 67.78 kB / 0.8317 GB, free: 7.305 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/1.017, allocations: 4 kB / 0.8317 GB, free: 7.301 MB / 0.5418 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 () * Number of clocked 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.0001382/1.017, allocations: 121.8 kB / 0.8318 GB, free: 7.172 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/1.017, allocations: 15.81 kB / 0.8318 GB, free: 7.156 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/1.018, allocations: 357.4 kB / 0.8321 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.018, allocations: 0 / 0.8321 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.018, allocations: 0 / 0.8321 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/1.018, allocations: 3.953 kB / 0.8321 GB, free: 6.801 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/1.019, allocations: 229.5 kB / 0.8324 GB, free: 6.527 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.019, allocations: 3.75 kB / 0.8324 GB, free: 6.527 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/1.019, allocations: 59.94 kB / 0.8324 GB, free: 6.469 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.019, allocations: 0 / 0.8324 GB, free: 6.469 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.019, allocations: 8 kB / 0.8324 GB, free: 6.461 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.019, allocations: 0 / 0.8324 GB, free: 6.461 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.019, allocations: 7.984 kB / 0.8324 GB, free: 6.453 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/1.02, allocations: 376.6 kB / 0.8328 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/1.02, allocations: 96.86 kB / 0.8329 GB, free: 5.953 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/1.02, allocations: 0 / 0.8329 GB, free: 5.953 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/1.021, allocations: 55.94 kB / 0.8329 GB, free: 5.898 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.021, allocations: 35.89 kB / 0.833 GB, free: 5.863 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.021, allocations: 4 kB / 0.833 GB, free: 5.859 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0001181/1.021, allocations: 120 kB / 0.8331 GB, free: 5.742 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 0.8331 GB, free: 5.742 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003213/1.021, allocations: 47.98 kB / 0.8331 GB, free: 5.695 MB / 0.5418 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) * Number of clocked states: 0 () * 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.0002339/1.021, allocations: 119.1 kB / 0.8332 GB, free: 5.566 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0012/1.023, allocations: 428.1 kB / 0.8337 GB, free: 5.125 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.023, allocations: 0 / 0.8337 GB, free: 5.125 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/1.023, allocations: 159.8 kB / 0.8338 GB, free: 4.969 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/1.024, allocations: 22.75 kB / 0.8338 GB, free: 4.949 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/1.024, allocations: 274.6 kB / 0.8341 GB, free: 4.656 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/1.025, allocations: 0.7087 MB / 0.8348 GB, free: 3.922 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.000105/1.025, allocations: 9.094 kB / 0.8348 GB, free: 3.91 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/1.025, allocations: 19.42 kB / 0.8348 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of SimCode: time 9.82e-07/1.025, allocations: 0 / 0.8348 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of Templates: time 0.006729/1.032, allocations: 2.241 MB / 0.837 GB, free: 1.707 MB / 0.5418 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