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.001063/0.001063, allocations: 174.7 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.477/1.477, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008976/0.0008979, allocations: 90.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1071/0.1071, allocations: 20.16 MB / 356.6 MB, free: 5.902 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.342/1.342, allocations: 127.5 MB / 0.5284 GB, free: 15.93 MB / 362.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 4.916e-05/4.918e-05, allocations: 4.219 kB / 0.6181 GB, free: 3.957 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5781, allocations: 82.85 MB / 0.699 GB, free: 32.09 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.7763, allocations: 120.8 MB / 0.817 GB, free: 280 kB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.7766, allocations: 76.5 kB / 0.817 GB, free: 204 kB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.04399/0.8207, allocations: 14.71 MB / 0.8314 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8207, allocations: 0 / 0.8314 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.8207, allocations: 4 kB / 0.8314 GB, free: 1.586 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001431/0.8222, allocations: 0.6221 MB / 0.832 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.8222, allocations: 20.69 kB / 0.832 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.8224, allocations: 42.56 kB / 0.8321 GB, free: 0.8359 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.8225, allocations: 32 kB / 0.8321 GB, free: 0.8047 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.8229, allocations: 246.5 kB / 0.8323 GB, free: 0.5234 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.8229, allocations: 15.88 kB / 0.8323 GB, free: 0.5078 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.823, allocations: 8 kB / 0.8324 GB, free: 0.5 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.8235, allocations: 260.4 kB / 0.8326 GB, free: 232 kB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8235, allocations: 0 / 0.8326 GB, free: 232 kB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.8235, allocations: 12 kB / 0.8326 GB, free: 220 kB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8235, allocations: 0 / 0.8326 GB, free: 220 kB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.824, allocations: 288 kB / 0.8329 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.8253, allocations: 0.6826 MB / 0.8336 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.8258, allocations: 284 kB / 0.8338 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.8261, allocations: 198.7 kB / 0.834 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.8264, allocations: 105.1 kB / 0.8341 GB, free: 14.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.8268, allocations: 322 kB / 0.8344 GB, free: 14.21 MB / 0.573 GB Notification: Performance of pre-optimization done (n=32): time 2.515e-06/0.8269, allocations: 0 / 0.8344 GB, free: 14.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=32): time 0.0009014/0.8278, allocations: 0.5202 MB / 0.8349 GB, free: 13.68 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.8279, allocations: 176.8 kB / 0.8351 GB, free: 13.47 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.8281, allocations: 190 kB / 0.8353 GB, free: 13.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.8281, allocations: 37.64 kB / 0.8353 GB, free: 13.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.8282, allocations: 116.7 kB / 0.8354 GB, free: 13.11 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.8283, allocations: 94.64 kB / 0.8355 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.8284, allocations: 4 kB / 0.8355 GB, free: 13.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8285, allocations: 334.8 kB / 0.8358 GB, free: 12.68 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.8287, allocations: 140 kB / 0.836 GB, free: 12.54 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.829, allocations: 167.6 kB / 0.8361 GB, free: 12.37 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.8293, allocations: 183.5 kB / 0.8363 GB, free: 12.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8293, allocations: 4 kB / 0.8363 GB, free: 12.17 MB / 0.573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008395/0.8301, allocations: 0.5208 MB / 0.8368 GB, free: 11.63 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.8302, allocations: 71.48 kB / 0.8369 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.8302, allocations: 0 / 0.8369 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.8303, allocations: 4 kB / 0.8369 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.8307, allocations: 67.92 kB / 0.837 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.8307, allocations: 7.938 kB / 0.837 GB, free: 11.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.8311, allocations: 55.75 kB / 0.837 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.8312, allocations: 23.98 kB / 0.837 GB, free: 11.39 MB / 0.573 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 () * 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.0002017/0.8314, allocations: 180.4 kB / 0.8372 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.8315, allocations: 27.72 kB / 0.8372 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.8326, allocations: 0.619 MB / 0.8378 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8326, allocations: 4 kB / 0.8379 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8326, allocations: 0 / 0.8379 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.8326, allocations: 7.984 kB / 0.8379 GB, free: 10.52 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.833, allocations: 344.9 kB / 0.8382 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.833, allocations: 3.469 kB / 0.8382 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.8335, allocations: 83.84 kB / 0.8383 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8335, allocations: 0 / 0.8383 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.8335, allocations: 23.98 kB / 0.8383 GB, free: 10.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8335, allocations: 0 / 0.8383 GB, free: 10.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8335, allocations: 4 kB / 0.8383 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/0.8345, allocations: 0.6526 MB / 0.8389 GB, free: 9.324 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.8346, allocations: 148.7 kB / 0.8391 GB, free: 9.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.8347, allocations: 12 kB / 0.8391 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.835, allocations: 47.91 kB / 0.8391 GB, free: 9.102 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.8352, allocations: 27.89 kB / 0.8392 GB, free: 9.074 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.8352, allocations: 23.98 kB / 0.8392 GB, free: 9.051 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001642/0.8354, allocations: 164.4 kB / 0.8393 GB, free: 8.891 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8354, allocations: 0 / 0.8393 GB, free: 8.891 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005663/0.836, allocations: 123.9 kB / 0.8395 GB, free: 8.77 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.001478/0.8375, allocations: 1.368 MB / 0.8408 GB, free: 7.352 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.8381, allocations: 0.5072 MB / 0.8413 GB, free: 6.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8381, allocations: 0 / 0.8413 GB, free: 6.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.8385, allocations: 350.7 kB / 0.8416 GB, free: 6.453 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.8388, allocations: 27.94 kB / 0.8417 GB, free: 6.426 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.84, allocations: 493.6 kB / 0.8421 GB, free: 5.898 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.8404, allocations: 0.7568 MB / 0.8429 GB, free: 5.117 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.8407, allocations: 41.33 kB / 0.8429 GB, free: 5.078 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.8409, allocations: 83.38 kB / 0.843 GB, free: 4.996 MB / 0.573 GB Notification: Performance of SimCode: time 6.21e-07/0.8409, allocations: 0 / 0.843 GB, free: 4.996 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.8593, allocations: 5.714 MB / 0.8486 GB, free: 15.53 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.8595, allocations: 142.4 kB / 0.8487 GB, free: 15.3 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.111, allocations: 4 kB / 0.8487 GB, free: 15.3 MB / 0.5887 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