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.001524/0.001524, allocations: 173.9 kB / 7.648 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.489/1.489, allocations: 221.5 MB / 229.6 MB, free: 3.125 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.0009386/0.0009385, allocations: 89.86 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09209/0.09209, allocations: 20.17 MB / 351.4 MB, free: 10.2 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.312/1.312, allocations: 127.6 MB / 0.5233 GB, free: 4.367 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.787e-05, allocations: 4 kB / 0.6111 GB, free: 10.27 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6006, allocations: 82.84 MB / 0.692 GB, free: 34.06 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.7941, allocations: 118.7 MB / 0.808 GB, free: 6.742 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.7945, allocations: 89.02 kB / 0.808 GB, free: 6.656 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005148/0.7997, allocations: 1.514 MB / 0.8095 GB, free: 5.164 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7997, allocations: 0 / 0.8095 GB, free: 5.164 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7997, allocations: 1.312 kB / 0.8095 GB, free: 5.164 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.0005948/0.8003, allocations: 397.5 kB / 0.8099 GB, free: 4.734 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8004, allocations: 8.031 kB / 0.8099 GB, free: 4.727 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.8005, allocations: 14.67 kB / 0.8099 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.8007, allocations: 189.5 kB / 0.8101 GB, free: 4.492 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.8008, allocations: 4 kB / 0.8101 GB, free: 4.488 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.8008, allocations: 3.984 kB / 0.8101 GB, free: 4.484 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/0.801, allocations: 35.88 kB / 0.8101 GB, free: 4.449 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.8011, allocations: 57.67 kB / 0.8102 GB, free: 4.387 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.8011, allocations: 0 / 0.8102 GB, free: 4.387 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8012, allocations: 2.781 kB / 0.8102 GB, free: 4.387 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.8012, allocations: 4 kB / 0.8102 GB, free: 4.383 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.8018, allocations: 322.1 kB / 0.8105 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.8022, allocations: 107.2 kB / 0.8106 GB, free: 3.926 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.8023, allocations: 24.97 kB / 0.8106 GB, free: 3.898 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.8023, allocations: 0 / 0.8106 GB, free: 3.898 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.8024, allocations: 43.06 kB / 0.8107 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.8024, allocations: 0 / 0.8107 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0002131/0.8026, allocations: 73.58 kB / 0.8107 GB, free: 3.773 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.8026, allocations: 55.41 kB / 0.8108 GB, free: 3.707 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.8028, allocations: 115.4 kB / 0.8109 GB, free: 3.586 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8028, allocations: 25.7 kB / 0.8109 GB, free: 3.555 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.8028, allocations: 96.08 kB / 0.811 GB, free: 3.457 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.8029, allocations: 15.7 kB / 0.811 GB, free: 3.441 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.8029, allocations: 0 / 0.811 GB, free: 3.441 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.803, allocations: 323.6 kB / 0.8114 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.8031, allocations: 16 kB / 0.8114 GB, free: 3.102 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.8031, allocations: 20.56 kB / 0.8114 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.8032, allocations: 12.72 kB / 0.8114 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8032, allocations: 0 / 0.8114 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.8033, allocations: 84.69 kB / 0.8115 GB, free: 2.984 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8033, allocations: 8.531 kB / 0.8115 GB, free: 2.977 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8033, allocations: 0 / 0.8115 GB, free: 2.977 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8034, allocations: 4.922 kB / 0.8115 GB, free: 2.973 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.8035, allocations: 33.08 kB / 0.8115 GB, free: 2.941 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.8035, allocations: 5.172 kB / 0.8115 GB, free: 2.938 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.8037, allocations: 30.19 kB / 0.8116 GB, free: 2.91 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.8037, allocations: 0 / 0.8116 GB, free: 2.91 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 () * 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 8.43e-05/0.8038, allocations: 104.8 kB / 0.8117 GB, free: 2.801 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001215/0.8039, allocations: 72.66 kB / 0.8117 GB, free: 2.727 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.8039, allocations: 9.75 kB / 0.8117 GB, free: 2.719 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.804, allocations: 20.34 kB / 0.8118 GB, free: 2.699 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.804, allocations: 0 / 0.8118 GB, free: 2.699 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.804, allocations: 3.938 kB / 0.8118 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.804, allocations: 1.906 kB / 0.8118 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.8042, allocations: 158.2 kB / 0.8119 GB, free: 2.504 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8042, allocations: 5.094 kB / 0.8119 GB, free: 2.5 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.8043, allocations: 33.34 kB / 0.8119 GB, free: 2.469 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8043, allocations: 0 / 0.8119 GB, free: 2.469 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.8044, allocations: 4.984 kB / 0.812 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.8044, allocations: 0 / 0.812 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.8044, allocations: 3.953 kB / 0.812 GB, free: 2.461 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.8046, allocations: 192.7 kB / 0.8121 GB, free: 2.258 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.8047, allocations: 82.27 kB / 0.8122 GB, free: 2.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.8047, allocations: 4.031 kB / 0.8122 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.8048, allocations: 21.75 kB / 0.8122 GB, free: 2.137 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.8049, allocations: 7.984 kB / 0.8123 GB, free: 2.129 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8049, allocations: 5.078 kB / 0.8123 GB, free: 2.125 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.805, allocations: 95.28 kB / 0.8123 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.805, allocations: 6.562 kB / 0.8124 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002159/0.8052, allocations: 15.98 kB / 0.8124 GB, free: 2.016 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 () * 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.0005026/0.8057, allocations: 0.7231 MB / 0.8131 GB, free: 1.266 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.8059, allocations: 45.31 kB / 0.8131 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8059, allocations: 3.281 kB / 0.8131 GB, free: 1.223 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.806, allocations: 27.94 kB / 0.8131 GB, free: 1.195 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.8062, allocations: 0 / 0.8131 GB, free: 1.195 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.8067, allocations: 182 kB / 0.8133 GB, free: 0.9805 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.807, allocations: 0.6975 MB / 0.814 GB, free: 264 kB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.8071, allocations: 9.453 kB / 0.814 GB, free: 256 kB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.8071, allocations: 23.38 kB / 0.814 GB, free: 232 kB / 0.5418 GB Notification: Performance of SimCode: time 2.51e-07/0.8071, allocations: 1.469 kB / 0.814 GB, free: 232 kB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.8276, allocations: 1.364 MB / 0.8154 GB, free: 14.94 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.8278, allocations: 131.3 kB / 0.8155 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.586, allocations: 1 kB / 0.8155 GB, free: 14.75 MB / 0.5574 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