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: "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 174.6 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.596/1.596, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009367/0.0009373, allocations: 90.14 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1085/0.1085, allocations: 20.17 MB / 356.7 MB, free: 5.898 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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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.287/1.287, 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 6.503e-05/6.516e-05, allocations: 8 kB / 0.6181 GB, free: 3.957 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6664, allocations: 82.84 MB / 0.699 GB, free: 32.2 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.8751, allocations: 120.1 MB / 0.8162 GB, free: 1.156 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.8755, allocations: 79.94 kB / 0.8163 GB, free: 1.078 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.8883, allocations: 3.714 MB / 0.8199 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8884, allocations: 0 / 0.8199 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8884, allocations: 0.5312 kB / 0.8199 GB, free: 13.45 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.001077/0.8895, allocations: 0.5388 MB / 0.8205 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.8896, allocations: 12.75 kB / 0.8205 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.8896, allocations: 34.55 kB / 0.8205 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.8897, allocations: 16.8 kB / 0.8205 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.8899, allocations: 188 kB / 0.8207 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.8899, allocations: 7.656 kB / 0.8207 GB, free: 12.56 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.89, allocations: 8 kB / 0.8207 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.8902, allocations: 94.56 kB / 0.8208 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8902, allocations: 0 / 0.8208 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.8902, allocations: 0 / 0.8208 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.8903, allocations: 7.984 kB / 0.8208 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.8904, allocations: 63.94 kB / 0.8209 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.891, allocations: 358.5 kB / 0.8212 GB, free: 11.99 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.8912, allocations: 106.2 kB / 0.8213 GB, free: 11.88 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.8914, allocations: 64.84 kB / 0.8214 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.8915, allocations: 0 / 0.8214 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.8917, allocations: 123.3 kB / 0.8215 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8917, allocations: 1.125 kB / 0.8215 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of matching and sorting (n=13): time 0.0003459/0.8921, allocations: 133.8 kB / 0.8216 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.8922, allocations: 56.66 kB / 0.8217 GB, free: 11.48 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.8923, allocations: 147.9 kB / 0.8218 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.8924, allocations: 33.64 kB / 0.8218 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.8925, allocations: 99.52 kB / 0.8219 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.8925, allocations: 47.44 kB / 0.822 GB, free: 11.13 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.8925, allocations: 0 / 0.822 GB, free: 11.13 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8927, allocations: 328 kB / 0.8223 GB, free: 10.8 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.8928, allocations: 43.98 kB / 0.8223 GB, free: 10.76 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.8929, allocations: 60.34 kB / 0.8224 GB, free: 10.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.8931, allocations: 100.9 kB / 0.8225 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8931, allocations: 0 / 0.8225 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003675/0.8934, allocations: 213.9 kB / 0.8227 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.8935, allocations: 67.39 kB / 0.8228 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.8935, allocations: 3 kB / 0.8228 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8936, allocations: 0 / 0.8228 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.8939, allocations: 67.81 kB / 0.8228 GB, free: 10.22 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.8939, allocations: 7.953 kB / 0.8228 GB, free: 10.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.8942, allocations: 63.88 kB / 0.8229 GB, free: 10.15 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.8943, allocations: 4 kB / 0.8229 GB, free: 10.15 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.0001155/0.8944, allocations: 111.5 kB / 0.823 GB, free: 10.04 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.8944, allocations: 15.81 kB / 0.823 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.8948, allocations: 166.3 kB / 0.8232 GB, free: 9.848 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8948, allocations: 0 / 0.8232 GB, free: 9.848 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8948, allocations: 4 kB / 0.8232 GB, free: 9.844 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8948, allocations: 7.953 kB / 0.8232 GB, free: 9.836 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.8951, allocations: 221.5 kB / 0.8234 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8951, allocations: 3.375 kB / 0.8234 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.8954, allocations: 63.94 kB / 0.8235 GB, free: 9.508 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8954, allocations: 7.938 kB / 0.8235 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.8954, allocations: 0 / 0.8235 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8954, allocations: 0 / 0.8235 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8954, allocations: 0 / 0.8235 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.8957, allocations: 181.4 kB / 0.8237 GB, free: 9.305 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.8958, allocations: 88.95 kB / 0.8237 GB, free: 9.199 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.8958, allocations: 4 kB / 0.8237 GB, free: 9.195 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.8961, allocations: 55.94 kB / 0.8238 GB, free: 9.141 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.8962, allocations: 35.94 kB / 0.8238 GB, free: 9.105 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.8963, allocations: 6.125 kB / 0.8238 GB, free: 9.102 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.8964, allocations: 124.9 kB / 0.824 GB, free: 8.98 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8964, allocations: 4 kB / 0.824 GB, free: 8.977 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002663/0.8966, allocations: 40 kB / 0.824 GB, free: 8.938 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.0006925/0.8973, allocations: 0.7222 MB / 0.8247 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.8977, allocations: 232.4 kB / 0.8249 GB, free: 7.938 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8977, allocations: 0 / 0.8249 GB, free: 7.938 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.8979, allocations: 60.06 kB / 0.825 GB, free: 7.879 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.8981, allocations: 24.86 kB / 0.825 GB, free: 7.855 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.8987, allocations: 215.3 kB / 0.8252 GB, free: 7.609 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.8991, allocations: 0.7122 MB / 0.8259 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 9.36e-05/0.8992, allocations: 17.14 kB / 0.8259 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.8993, allocations: 37.3 kB / 0.826 GB, free: 6.824 MB / 0.5574 GB Notification: Performance of SimCode: time 2.61e-07/0.8993, allocations: 4 kB / 0.826 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08335/0.9826, allocations: 3.598 MB / 0.8295 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006225/0.9834, allocations: 173.6 kB / 0.8296 GB, free: 3.266 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.261, allocations: 0 / 0.8296 GB, free: 3.266 MB / 0.5574 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat does not exist to compare? outputFormat=mat