Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.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.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean",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.01074/0.01074, allocations: 172 kB / 15.12 MB, free: 5.992 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.544/1.544, 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.001003/0.001003, allocations: 92.5 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.1099/0.1099, allocations: 20.32 MB / 361.6 MB, free: 6.668 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.203/1.203, allocations: 127.1 MB / 0.533 GB, free: 16.99 MB / 362.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.000551/0.0005512, allocations: 12 kB / 0.6256 GB, free: 11.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 82.86 MB / 0.7065 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6226/0.8456, allocations: 120.9 MB / 0.8245 GB, free: 4.457 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.8459, allocations: 81.33 kB / 0.8246 GB, free: 4.41 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.04362/0.8895, allocations: 14.72 MB / 0.839 GB, free: 7.316 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8895, allocations: 7.938 kB / 0.839 GB, free: 7.309 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8896, allocations: 0 / 0.839 GB, free: 7.309 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001575/0.8912, allocations: 0.6609 MB / 0.8396 GB, free: 6.59 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8912, allocations: 12.03 kB / 0.8396 GB, free: 6.578 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.8913, allocations: 46.55 kB / 0.8397 GB, free: 6.523 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.8914, allocations: 23.72 kB / 0.8397 GB, free: 6.5 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.8919, allocations: 246.6 kB / 0.8399 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.8919, allocations: 8 kB / 0.84 GB, free: 6.211 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.892, allocations: 12 kB / 0.84 GB, free: 6.199 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.8929, allocations: 360.2 kB / 0.8403 GB, free: 5.828 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.893, allocations: 0 / 0.8403 GB, free: 5.828 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.893, allocations: 8.344 kB / 0.8403 GB, free: 5.82 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.893, allocations: 3.953 kB / 0.8403 GB, free: 5.816 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.8943, allocations: 463.9 kB / 0.8408 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.8956, allocations: 0.6967 MB / 0.8414 GB, free: 4.617 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.8966, allocations: 340 kB / 0.8418 GB, free: 4.254 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.8969, allocations: 109.1 kB / 0.8419 GB, free: 4.129 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008502/0.8977, allocations: 374 kB / 0.8422 GB, free: 3.73 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=32): time 3.387e-06/0.8978, allocations: 4.547 kB / 0.8422 GB, free: 3.727 MB / 0.5418 GB Notification: Performance of matching and sorting (n=32): time 0.002476/0.9002, allocations: 0.9712 MB / 0.8432 GB, free: 2.707 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.9004, allocations: 174.3 kB / 0.8433 GB, free: 2.5 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.9007, allocations: 194.1 kB / 0.8435 GB, free: 2.305 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.9007, allocations: 33.7 kB / 0.8436 GB, free: 2.266 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.9009, allocations: 120.6 kB / 0.8437 GB, free: 2.145 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/0.901, allocations: 87.55 kB / 0.8438 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.901, allocations: 4 kB / 0.8438 GB, free: 2.055 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9012, allocations: 338.8 kB / 0.8441 GB, free: 1.715 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.9018, allocations: 191.8 kB / 0.8443 GB, free: 1.527 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.9025, allocations: 227.5 kB / 0.8445 GB, free: 1.293 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.9032, allocations: 248.4 kB / 0.8447 GB, free: 1.035 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9032, allocations: 0 / 0.8447 GB, free: 1.035 MB / 0.5418 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001758/0.905, allocations: 0.6232 MB / 0.8453 GB, free: 404 kB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.9051, allocations: 71.98 kB / 0.8454 GB, free: 320 kB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9051, allocations: 4 kB / 0.8454 GB, free: 316 kB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.9051, allocations: 0 / 0.8454 GB, free: 316 kB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.9056, allocations: 76.73 kB / 0.8455 GB, free: 240 kB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.9056, allocations: 8.016 kB / 0.8455 GB, free: 232 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.906, allocations: 55.64 kB / 0.8455 GB, free: 176 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/0.9061, allocations: 19.98 kB / 0.8456 GB, free: 156 kB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,$PRE.rampT_in.nextEvent,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,$PRE.rampT_out2.nextEvent,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0003043/0.9064, allocations: 217.8 kB / 0.8458 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.9065, allocations: 35.66 kB / 0.8458 GB, free: 15.88 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.9081, allocations: 0.6623 MB / 0.8464 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.9082, allocations: 5.312 kB / 0.8465 GB, free: 15.2 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.9082, allocations: 3.984 kB / 0.8465 GB, free: 15.2 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.9082, allocations: 3.953 kB / 0.8465 GB, free: 15.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.9087, allocations: 357 kB / 0.8468 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9088, allocations: 0.75 kB / 0.8468 GB, free: 14.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.9092, allocations: 79.92 kB / 0.8469 GB, free: 14.72 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.9092, allocations: 7.938 kB / 0.8469 GB, free: 14.71 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.9093, allocations: 15.98 kB / 0.8469 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9093, allocations: 4 kB / 0.8469 GB, free: 14.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.9093, allocations: 7.484 kB / 0.8469 GB, free: 14.69 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.9112, allocations: 0.7748 MB / 0.8477 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.9114, allocations: 152.5 kB / 0.8478 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.9115, allocations: 12.98 kB / 0.8478 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.9119, allocations: 43.95 kB / 0.8479 GB, free: 13.64 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.912, allocations: 36.17 kB / 0.8479 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.912, allocations: 27.92 kB / 0.8479 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001483/0.9122, allocations: 160.5 kB / 0.8481 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9122, allocations: 0 / 0.8481 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0005827/0.9128, allocations: 123.9 kB / 0.8482 GB, free: 13.3 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse3,$cse4,$whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.002291/0.9151, allocations: 1.483 MB / 0.8496 GB, free: 11.77 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.9166, allocations: 0.614 MB / 0.8502 GB, free: 11.13 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9166, allocations: 0 / 0.8502 GB, free: 11.13 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.9174, allocations: 423.2 kB / 0.8506 GB, free: 10.7 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.9176, allocations: 25.61 kB / 0.8507 GB, free: 10.67 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.9219, allocations: 2.31 MB / 0.8529 GB, free: 8.297 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.9223, allocations: 0.7657 MB / 0.8537 GB, free: 7.504 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.9225, allocations: 33.55 kB / 0.8537 GB, free: 7.473 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.9227, allocations: 83.38 kB / 0.8538 GB, free: 7.391 MB / 0.5574 GB Notification: Performance of SimCode: time 7.41e-07/0.9227, allocations: 4 kB / 0.8538 GB, free: 7.387 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.9446, allocations: 5.872 MB / 0.8595 GB, free: 1.805 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.9449, allocations: 166 kB / 0.8597 GB, free: 1.566 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.198, allocations: 4 kB / 0.8597 GB, free: 1.562 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat does not exist to compare? outputFormat=mat