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.01155/0.01155, allocations: 170.6 kB / 15.11 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.663/1.663, allocations: 223.2 MB / 239 MB, free: 1.801 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.001031/0.001031, allocations: 108 kB / 290.2 MB, free: 13.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.1324/0.1324, allocations: 20.32 MB / 361.6 MB, free: 6.672 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.296/1.296, allocations: 127.1 MB / 0.533 GB, free: 16.95 MB / 362.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004717, allocations: 12 kB / 0.6256 GB, free: 11.03 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 82.86 MB / 0.7065 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/0.9225, allocations: 120.1 MB / 0.8238 GB, free: 5.078 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.9229, allocations: 80.81 kB / 0.8239 GB, free: 5.031 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.01276/0.9357, allocations: 3.725 MB / 0.8275 GB, free: 1.793 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.426e-06/0.9358, allocations: 4 kB / 0.8275 GB, free: 1.789 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9358, allocations: 0 / 0.8275 GB, free: 1.789 MB / 0.5262 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.001106/0.9369, allocations: 0.5733 MB / 0.8281 GB, free: 1.168 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.937, allocations: 8.031 kB / 0.8281 GB, free: 1.16 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.9371, allocations: 38.75 kB / 0.8281 GB, free: 1.117 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.9371, allocations: 15.77 kB / 0.8281 GB, free: 1.102 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.9373, allocations: 194.5 kB / 0.8283 GB, free: 0.875 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.9373, allocations: 4 kB / 0.8283 GB, free: 0.8711 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.9374, allocations: 7.25 kB / 0.8283 GB, free: 0.8672 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.938, allocations: 196.5 kB / 0.8285 GB, free: 0.6914 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.938, allocations: 0 / 0.8285 GB, free: 0.6914 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.938, allocations: 7.375 kB / 0.8285 GB, free: 0.6875 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.938, allocations: 3.953 kB / 0.8285 GB, free: 0.6836 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.9388, allocations: 257.7 kB / 0.8288 GB, free: 468 kB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.9393, allocations: 353 kB / 0.8291 GB, free: 108 kB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/0.9403, allocations: 287.7 kB / 0.8294 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.9403, allocations: 0 / 0.8294 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006623/0.941, allocations: 213.8 kB / 0.8296 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.941, allocations: 0 / 0.8296 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.001566/0.9425, allocations: 474.8 kB / 0.83 GB, free: 15.23 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.9426, allocations: 59.41 kB / 0.8301 GB, free: 15.16 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.9428, allocations: 157.2 kB / 0.8302 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.9429, allocations: 25.7 kB / 0.8303 GB, free: 14.98 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.9429, allocations: 106.5 kB / 0.8304 GB, free: 14.89 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.943, allocations: 43.61 kB / 0.8304 GB, free: 14.86 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.943, allocations: 0 / 0.8304 GB, free: 14.86 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9432, allocations: 325.9 kB / 0.8307 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.9437, allocations: 141.6 kB / 0.8309 GB, free: 14.41 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.9442, allocations: 159.1 kB / 0.831 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.9447, allocations: 189.9 kB / 0.8312 GB, free: 14.09 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9447, allocations: 0.75 kB / 0.8312 GB, free: 14.09 MB / 0.5418 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001135/0.9458, allocations: 426.1 kB / 0.8316 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.9459, allocations: 55.41 kB / 0.8317 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.9459, allocations: 0 / 0.8317 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.946, allocations: 7.953 kB / 0.8317 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.9463, allocations: 66.91 kB / 0.8317 GB, free: 13.57 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.9463, allocations: 0 / 0.8317 GB, free: 13.57 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.9467, allocations: 64.06 kB / 0.8318 GB, free: 13.51 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.9467, allocations: 8.594 kB / 0.8318 GB, free: 13.5 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.0001482/0.9469, allocations: 125.3 kB / 0.8319 GB, free: 13.38 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.9469, allocations: 15.81 kB / 0.8319 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.948, allocations: 350.8 kB / 0.8323 GB, free: 13.06 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.9481, allocations: 3.984 kB / 0.8323 GB, free: 13.06 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.9481, allocations: 9.016 kB / 0.8323 GB, free: 13.05 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.9481, allocations: 8 kB / 0.8323 GB, free: 13.04 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.9484, allocations: 223.7 kB / 0.8325 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9484, allocations: 0 / 0.8325 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.9487, allocations: 55.83 kB / 0.8325 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.9487, allocations: 8 kB / 0.8326 GB, free: 12.74 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.9487, allocations: 3.984 kB / 0.8326 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9487, allocations: 0.8125 kB / 0.8326 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9487, allocations: 0 / 0.8326 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.9498, allocations: 378.5 kB / 0.8329 GB, free: 12.39 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.9499, allocations: 92.86 kB / 0.833 GB, free: 12.28 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.95, allocations: 3.984 kB / 0.833 GB, free: 12.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.9503, allocations: 63.5 kB / 0.8331 GB, free: 12.21 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9504, allocations: 30.64 kB / 0.8331 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.9504, allocations: 5.188 kB / 0.8331 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0001181/0.9506, allocations: 122.4 kB / 0.8332 GB, free: 12.08 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9506, allocations: 0 / 0.8332 GB, free: 12.08 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003215/0.9509, allocations: 44.72 kB / 0.8333 GB, free: 12.04 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.001601/0.9525, allocations: 0.9164 MB / 0.8342 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.9537, allocations: 419.8 kB / 0.8346 GB, free: 10.75 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9537, allocations: 0 / 0.8346 GB, free: 10.75 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.9543, allocations: 162.8 kB / 0.8347 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.9546, allocations: 24.52 kB / 0.8347 GB, free: 10.59 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.9576, allocations: 1.331 MB / 0.836 GB, free: 9.383 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.958, allocations: 0.7126 MB / 0.8367 GB, free: 8.645 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.9581, allocations: 5.094 kB / 0.8367 GB, free: 8.641 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.9582, allocations: 40.3 kB / 0.8368 GB, free: 8.625 MB / 0.5418 GB Notification: Performance of SimCode: time 7.91e-07/0.9583, allocations: 0 / 0.8368 GB, free: 8.625 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.9791, allocations: 3.582 MB / 0.8403 GB, free: 5.32 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00042/0.9797, allocations: 203.7 kB / 0.8405 GB, free: 5.086 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/3.141, allocations: 3.25 kB / 0.8405 GB, free: 5.086 MB / 0.5418 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