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.00152/0.00152, allocations: 180.2 kB / 7.65 MB, free: 1.418 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.687/1.687, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.001143/0.001143, allocations: 98.81 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09945/0.09945, allocations: 20.17 MB / 351.4 MB, free: 11 MB / 250.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.8323/0.8323, allocations: 127.6 MB / 0.5233 GB, free: 1.016 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.781e-05, allocations: 0 / 0.611 GB, free: 7.781 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.6372, allocations: 82.85 MB / 0.6919 GB, free: 3.152 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.8358, allocations: 119.4 MB / 0.8085 GB, free: 9.793 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.8362, allocations: 91.73 kB / 0.8086 GB, free: 9.711 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.8493, allocations: 3.702 MB / 0.8122 GB, free: 5.996 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8493, allocations: 0 / 0.8122 GB, free: 5.996 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.8493, allocations: 4 kB / 0.8122 GB, free: 5.992 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.0009764/0.8503, allocations: 0.5401 MB / 0.8128 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.8504, allocations: 16.02 kB / 0.8128 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.8505, allocations: 11.86 kB / 0.8128 GB, free: 5.371 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8506, allocations: 184 kB / 0.813 GB, free: 5.152 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8507, allocations: 4 kB / 0.813 GB, free: 5.148 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.8507, allocations: 8 kB / 0.813 GB, free: 5.141 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001798/0.8509, allocations: 63.92 kB / 0.813 GB, free: 5.078 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.8511, allocations: 89.58 kB / 0.8131 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8511, allocations: 0 / 0.8131 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.8511, allocations: 0 / 0.8131 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8511, allocations: 0 / 0.8131 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.8516, allocations: 333.2 kB / 0.8135 GB, free: 4.621 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.8518, allocations: 94.56 kB / 0.8135 GB, free: 4.52 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.852, allocations: 68.84 kB / 0.8136 GB, free: 4.449 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.852, allocations: 0 / 0.8136 GB, free: 4.449 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.8523, allocations: 107.3 kB / 0.8137 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.8523, allocations: 0 / 0.8137 GB, free: 4.332 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.000478/0.8528, allocations: 157.4 kB / 0.8139 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.8528, allocations: 63.41 kB / 0.8139 GB, free: 4.098 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.853, allocations: 146.5 kB / 0.8141 GB, free: 3.938 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.853, allocations: 25.7 kB / 0.8141 GB, free: 3.906 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.8531, allocations: 100.5 kB / 0.8142 GB, free: 3.805 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.8532, allocations: 39.41 kB / 0.8142 GB, free: 3.766 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.8532, allocations: 4 kB / 0.8142 GB, free: 3.762 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8533, allocations: 326.8 kB / 0.8145 GB, free: 3.434 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.8534, allocations: 36 kB / 0.8146 GB, free: 3.398 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.8536, allocations: 61.72 kB / 0.8146 GB, free: 3.332 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.8538, allocations: 64.97 kB / 0.8147 GB, free: 3.27 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8538, allocations: 0 / 0.8147 GB, free: 3.27 MB / 0.5418 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003759/0.8542, allocations: 179.1 kB / 0.8149 GB, free: 3.09 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.8542, allocations: 59.41 kB / 0.8149 GB, free: 3.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8543, allocations: 4 kB / 0.8149 GB, free: 3.016 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8543, allocations: 8.031 kB / 0.8149 GB, free: 3.008 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.8546, allocations: 63.88 kB / 0.815 GB, free: 2.945 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8546, allocations: 0 / 0.815 GB, free: 2.945 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.8549, allocations: 63.78 kB / 0.8151 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.855, allocations: 11.95 kB / 0.8151 GB, free: 2.871 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 () * 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.0001042/0.8551, allocations: 109 kB / 0.8152 GB, free: 2.758 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.8551, allocations: 19.8 kB / 0.8152 GB, free: 2.738 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.8555, allocations: 175.3 kB / 0.8154 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.8555, allocations: 0 / 0.8154 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8555, allocations: 0 / 0.8154 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.8556, allocations: 7.984 kB / 0.8154 GB, free: 2.562 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.8558, allocations: 198.1 kB / 0.8155 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8558, allocations: 0 / 0.8155 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.8561, allocations: 63.94 kB / 0.8156 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8561, allocations: 0 / 0.8156 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.8561, allocations: 0 / 0.8156 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.8561, allocations: 4 kB / 0.8156 GB, free: 2.266 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8561, allocations: 4 kB / 0.8156 GB, free: 2.262 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.8565, allocations: 204.3 kB / 0.8158 GB, free: 2.047 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.8565, allocations: 88.95 kB / 0.8159 GB, free: 1.941 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.8566, allocations: 0 / 0.8159 GB, free: 1.941 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.8569, allocations: 55.94 kB / 0.816 GB, free: 1.887 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.857, allocations: 31.95 kB / 0.816 GB, free: 1.855 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.857, allocations: 7.984 kB / 0.816 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.8571, allocations: 120.9 kB / 0.8161 GB, free: 1.73 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8571, allocations: 0 / 0.8161 GB, free: 1.73 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002439/0.8574, allocations: 36 kB / 0.8161 GB, free: 1.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) * 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.0002116/0.8576, allocations: 119.2 kB / 0.8163 GB, free: 1.566 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.8579, allocations: 218.7 kB / 0.8165 GB, free: 1.328 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8579, allocations: 0 / 0.8165 GB, free: 1.328 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.858, allocations: 55.94 kB / 0.8165 GB, free: 1.273 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8582, allocations: 23.84 kB / 0.8165 GB, free: 1.25 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.8587, allocations: 169.9 kB / 0.8167 GB, free: 1.066 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.859, allocations: 0.7084 MB / 0.8174 GB, free: 340 kB / 0.5418 GB Notification: Performance of simCode: alias equations: time 9.128e-05/0.8591, allocations: 13.2 kB / 0.8174 GB, free: 324 kB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.8592, allocations: 19.44 kB / 0.8174 GB, free: 304 kB / 0.5418 GB Notification: Performance of SimCode: time 6.31e-07/0.8592, allocations: 0 / 0.8174 GB, free: 304 kB / 0.5418 GB Notification: Performance of Templates: time 0.005076/0.8643, allocations: 2.099 MB / 0.8195 GB, free: 14.25 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