Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",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.01187/0.01187, allocations: 172.1 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.698/1.698, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009604, allocations: 95.89 kB / 290.2 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09766/0.09766, allocations: 20.33 MB / 361.6 MB, free: 8.73 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 0.802/0.802, allocations: 127.1 MB / 0.533 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005201, allocations: 23.92 kB / 0.6256 GB, free: 0.6875 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 82.84 MB / 0.7065 GB, free: 14.05 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7013/0.9519, allocations: 119.4 MB / 0.8231 GB, free: 424 kB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.9523, allocations: 91.92 kB / 0.8232 GB, free: 332 kB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.004904/0.9572, allocations: 1.528 MB / 0.8247 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9572, allocations: 3.984 kB / 0.8247 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.9573, allocations: 4 kB / 0.8247 GB, free: 14.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005975/0.9579, allocations: 411.2 kB / 0.8251 GB, free: 14.35 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.9579, allocations: 8.031 kB / 0.8251 GB, free: 14.34 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.958, allocations: 38.56 kB / 0.8251 GB, free: 14.29 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.958, allocations: 15.84 kB / 0.8251 GB, free: 14.28 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.9583, allocations: 178.9 kB / 0.8253 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.9583, allocations: 4 kB / 0.8253 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.9584, allocations: 15.92 kB / 0.8253 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.9587, allocations: 109 kB / 0.8254 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9587, allocations: 0 / 0.8254 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9587, allocations: 0 / 0.8254 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9588, allocations: 4 kB / 0.8254 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.9591, allocations: 99.88 kB / 0.8255 GB, free: 13.83 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.9598, allocations: 352.6 kB / 0.8259 GB, free: 13.44 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.9605, allocations: 186.5 kB / 0.826 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.9605, allocations: 4.125 kB / 0.8261 GB, free: 13.24 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.9606, allocations: 42.55 kB / 0.8261 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.9606, allocations: 0 / 0.8261 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0006839/0.9613, allocations: 213.5 kB / 0.8263 GB, free: 12.98 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.9613, allocations: 51.41 kB / 0.8263 GB, free: 12.91 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.9615, allocations: 118.4 kB / 0.8265 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.9615, allocations: 33.7 kB / 0.8265 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.9616, allocations: 96.12 kB / 0.8266 GB, free: 12.65 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.9616, allocations: 19.64 kB / 0.8266 GB, free: 12.63 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.9616, allocations: 4 kB / 0.8266 GB, free: 12.63 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.9618, allocations: 322.8 kB / 0.8269 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.962, allocations: 61.27 kB / 0.827 GB, free: 12.25 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.9622, allocations: 59.95 kB / 0.827 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.9624, allocations: 72.03 kB / 0.8271 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9624, allocations: 0 / 0.8271 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004073/0.9628, allocations: 165.5 kB / 0.8273 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9628, allocations: 7.953 kB / 0.8273 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9628, allocations: 0 / 0.8273 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9629, allocations: 4 kB / 0.8273 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.963, allocations: 35.97 kB / 0.8273 GB, free: 11.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.963, allocations: 0 / 0.8273 GB, free: 11.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.9631, allocations: 19.98 kB / 0.8273 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.9632, allocations: 3.984 kB / 0.8273 GB, free: 11.88 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.000106/0.9633, allocations: 125.7 kB / 0.8274 GB, free: 11.75 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.9633, allocations: 7.906 kB / 0.8275 GB, free: 11.74 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.9634, allocations: 12.27 kB / 0.8275 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9634, allocations: 0 / 0.8275 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.9634, allocations: 7.656 kB / 0.8275 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9634, allocations: 0 / 0.8275 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.9636, allocations: 181.6 kB / 0.8276 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9636, allocations: 0 / 0.8276 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.9638, allocations: 36.22 kB / 0.8277 GB, free: 11.46 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9638, allocations: 0 / 0.8277 GB, free: 11.46 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.9638, allocations: 8 kB / 0.8277 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.9638, allocations: 3.953 kB / 0.8277 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9639, allocations: 0 / 0.8277 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.9645, allocations: 323.3 kB / 0.828 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.9646, allocations: 81.02 kB / 0.8281 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.9646, allocations: 11.97 kB / 0.8281 GB, free: 11 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9648, allocations: 24.03 kB / 0.8281 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.9649, allocations: 11.94 kB / 0.8281 GB, free: 10.97 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.9649, allocations: 0 / 0.8281 GB, free: 10.97 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.965, allocations: 110 kB / 0.8282 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.31e-07/0.965, allocations: 0 / 0.8282 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002341/0.9652, allocations: 12 kB / 0.8282 GB, free: 10.85 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001048/0.9663, allocations: 0.8512 MB / 0.8291 GB, free: 9.977 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.9667, allocations: 139.9 kB / 0.8292 GB, free: 9.84 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9667, allocations: 0 / 0.8292 GB, free: 9.84 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.9669, allocations: 67.95 kB / 0.8293 GB, free: 9.773 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.9671, allocations: 7.953 kB / 0.8293 GB, free: 9.766 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.9687, allocations: 0.7693 MB / 0.83 GB, free: 8.945 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.9691, allocations: 0.6965 MB / 0.8307 GB, free: 8.223 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 6.308e-05/0.9691, allocations: 15.97 kB / 0.8307 GB, free: 8.207 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.9692, allocations: 15.44 kB / 0.8307 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of SimCode: time 4.719e-06/0.9692, allocations: 0 / 0.8307 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.9874, allocations: 1.718 MB / 0.8324 GB, free: 6.648 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.9878, allocations: 179.8 kB / 0.8326 GB, free: 6.406 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.745, allocations: 0 / 0.8326 GB, free: 6.406 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat does not exist to compare? outputFormat=mat