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.001405/0.001405, allocations: 180.9 kB / 7.65 MB, free: 1.422 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.724/1.724, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009529/0.0009527, allocations: 83.12 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08647/0.08647, allocations: 20.18 MB / 351.4 MB, free: 11.03 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: 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 0.8152/0.8152, allocations: 127.6 MB / 0.5233 GB, free: 1.035 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.514e-05, allocations: 4 kB / 0.6111 GB, free: 7.719 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6553, allocations: 82.86 MB / 0.692 GB, free: 3.172 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.887, allocations: 120.2 MB / 0.8094 GB, free: 9.051 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.8875, allocations: 75.91 kB / 0.8095 GB, free: 8.98 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.04647/0.934, allocations: 14.66 MB / 0.8238 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.743e-06/0.934, allocations: 0 / 0.8238 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.9341, allocations: 4 kB / 0.8238 GB, free: 10.29 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.001668/0.9357, allocations: 0.6183 MB / 0.8244 GB, free: 9.617 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.9358, allocations: 8.031 kB / 0.8244 GB, free: 9.609 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.936, allocations: 28.02 kB / 0.8244 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.9366, allocations: 254.2 kB / 0.8247 GB, free: 9.293 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.9367, allocations: 4 kB / 0.8247 GB, free: 9.289 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.9368, allocations: 12 kB / 0.8247 GB, free: 9.277 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006604/0.9374, allocations: 271.8 kB / 0.8249 GB, free: 9.012 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.938, allocations: 248.9 kB / 0.8252 GB, free: 8.75 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.938, allocations: 0 / 0.8252 GB, free: 8.75 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.9381, allocations: 3.938 kB / 0.8252 GB, free: 8.746 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9381, allocations: 4 kB / 0.8252 GB, free: 8.742 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.9396, allocations: 0.6595 MB / 0.8258 GB, free: 8.035 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.9402, allocations: 268.1 kB / 0.8261 GB, free: 7.742 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.9406, allocations: 186.9 kB / 0.8262 GB, free: 7.551 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.9409, allocations: 105 kB / 0.8263 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/0.9416, allocations: 319.8 kB / 0.8267 GB, free: 7.086 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.9416, allocations: 0 / 0.8267 GB, free: 7.086 MB / 0.5574 GB Notification: Performance of matching and sorting (n=32): time 0.001815/0.9434, allocations: 0.5361 MB / 0.8272 GB, free: 6.547 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.9436, allocations: 166.3 kB / 0.8273 GB, free: 6.348 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.9439, allocations: 190 kB / 0.8275 GB, free: 6.156 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.944, allocations: 29.7 kB / 0.8275 GB, free: 6.121 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.9441, allocations: 116.7 kB / 0.8277 GB, free: 6.004 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.9443, allocations: 94.59 kB / 0.8277 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.9443, allocations: 0 / 0.8277 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.9445, allocations: 338.8 kB / 0.8281 GB, free: 5.57 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.9448, allocations: 128 kB / 0.8282 GB, free: 5.445 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.9451, allocations: 171.5 kB / 0.8284 GB, free: 5.266 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.9459, allocations: 227.9 kB / 0.8286 GB, free: 5.043 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.9459, allocations: 0 / 0.8286 GB, free: 5.043 MB / 0.5574 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001371/0.9473, allocations: 0.5406 MB / 0.8291 GB, free: 4.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.9474, allocations: 67.39 kB / 0.8292 GB, free: 4.422 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.9475, allocations: 4 kB / 0.8292 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.9475, allocations: 0 / 0.8292 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.948, allocations: 83.95 kB / 0.8292 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.948, allocations: 0 / 0.8292 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.9485, allocations: 43.8 kB / 0.8293 GB, free: 4.293 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.9485, allocations: 19.98 kB / 0.8293 GB, free: 4.273 MB / 0.5574 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.0003038/0.9489, allocations: 192.3 kB / 0.8295 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001563/0.9504, allocations: 0.569 MB / 0.83 GB, free: 3.488 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.9505, allocations: 31.66 kB / 0.8301 GB, free: 3.457 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.9523, allocations: 0.6739 MB / 0.8307 GB, free: 2.773 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.9523, allocations: 0 / 0.8307 GB, free: 2.773 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.9523, allocations: 7.953 kB / 0.8307 GB, free: 2.766 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.9523, allocations: 0 / 0.8307 GB, free: 2.766 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.9527, allocations: 313.2 kB / 0.831 GB, free: 2.422 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9527, allocations: 0 / 0.831 GB, free: 2.422 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.9532, allocations: 87.86 kB / 0.8311 GB, free: 2.336 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.9532, allocations: 0 / 0.8311 GB, free: 2.336 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.9533, allocations: 11.98 kB / 0.8311 GB, free: 2.324 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.9533, allocations: 7.984 kB / 0.8311 GB, free: 2.316 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9533, allocations: 0 / 0.8311 GB, free: 2.316 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.9551, allocations: 0.7036 MB / 0.8318 GB, free: 1.574 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.9553, allocations: 144.7 kB / 0.832 GB, free: 1.414 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.9554, allocations: 11.95 kB / 0.832 GB, free: 1.402 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.9557, allocations: 43.89 kB / 0.832 GB, free: 1.359 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9558, allocations: 23.95 kB / 0.832 GB, free: 1.336 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.9559, allocations: 27.98 kB / 0.8321 GB, free: 1.309 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001938/0.9561, allocations: 152.6 kB / 0.8322 GB, free: 1.16 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9561, allocations: 0 / 0.8322 GB, free: 1.16 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0005837/0.9567, allocations: 111.9 kB / 0.8323 GB, free: 1.051 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: 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.002422/0.9591, allocations: 1.407 MB / 0.8337 GB, free: 15.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.9599, allocations: 495.2 kB / 0.8342 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9599, allocations: 0 / 0.8342 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.9604, allocations: 350.6 kB / 0.8345 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.9607, allocations: 19.8 kB / 0.8345 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.9619, allocations: 463.9 kB / 0.835 GB, free: 14.22 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.9624, allocations: 0.7526 MB / 0.8357 GB, free: 13.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.9626, allocations: 41.31 kB / 0.8357 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.9628, allocations: 83.38 kB / 0.8358 GB, free: 13.32 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.9628, allocations: 0 / 0.8358 GB, free: 13.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.9959, allocations: 5.365 MB / 0.8411 GB, free: 8.008 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.9963, allocations: 124.4 kB / 0.8412 GB, free: 7.816 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.247, allocations: 3.656 kB / 0.8412 GB, free: 7.816 MB / 0.573 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