Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs",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.002237/0.002237, allocations: 173.5 kB / 7.646 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.675/1.675, allocations: 221.5 MB / 229.6 MB, free: 7.605 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.001078/0.001078, allocations: 85.78 kB / 280.4 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.08275/0.08275, allocations: 20.19 MB / 351.4 MB, free: 11.02 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.8531/0.8531, allocations: 127.7 MB / 0.5233 GB, free: 1.031 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.749e-05, allocations: 0 / 0.6111 GB, free: 7.703 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6555, allocations: 82.85 MB / 0.692 GB, free: 3.035 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.8824, allocations: 117.9 MB / 0.8072 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.8827, allocations: 75.94 kB / 0.8073 GB, free: 11.13 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.8943, allocations: 3.574 MB / 0.8107 GB, free: 7.555 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8944, allocations: 4 kB / 0.8108 GB, free: 7.551 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.8944, allocations: 0 / 0.8108 GB, free: 7.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004506/0.8949, allocations: 346.4 kB / 0.8111 GB, free: 7.168 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.8949, allocations: 8.031 kB / 0.8111 GB, free: 7.16 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.895, allocations: 7.953 kB / 0.8111 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8952, allocations: 163.1 kB / 0.8113 GB, free: 6.953 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.8952, allocations: 4 kB / 0.8113 GB, free: 6.949 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.8952, allocations: 0 / 0.8113 GB, free: 6.949 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.8953, allocations: 8 kB / 0.8113 GB, free: 6.941 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.8954, allocations: 37.69 kB / 0.8113 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.8954, allocations: 0 / 0.8113 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.8955, allocations: 0 / 0.8113 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.8955, allocations: 7.938 kB / 0.8113 GB, free: 6.891 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.8957, allocations: 130.2 kB / 0.8114 GB, free: 6.727 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.8958, allocations: 38.58 kB / 0.8115 GB, free: 6.68 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.8959, allocations: 16.98 kB / 0.8115 GB, free: 6.66 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.8964, allocations: 348.4 kB / 0.8118 GB, free: 6.246 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.8964, allocations: 34.56 kB / 0.8118 GB, free: 6.203 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.8964, allocations: 0 / 0.8118 GB, free: 6.203 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4): time 0.001179/0.8976, allocations: 213.3 kB / 0.8121 GB, free: 5.988 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8977, allocations: 51.41 kB / 0.8121 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.8977, allocations: 85 kB / 0.8122 GB, free: 5.836 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.8977, allocations: 29.64 kB / 0.8122 GB, free: 5.801 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.8978, allocations: 80.14 kB / 0.8123 GB, free: 5.719 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.8978, allocations: 11.84 kB / 0.8123 GB, free: 5.707 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.8978, allocations: 4 kB / 0.8123 GB, free: 5.703 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.898, allocations: 318.8 kB / 0.8126 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.898, allocations: 7.656 kB / 0.8126 GB, free: 5.379 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.8981, allocations: 11.94 kB / 0.8126 GB, free: 5.367 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.8989, allocations: 167.8 kB / 0.8128 GB, free: 5.203 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.8989, allocations: 3.953 kB / 0.8128 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008368/0.8997, allocations: 205.4 kB / 0.813 GB, free: 4.992 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8998, allocations: 8 kB / 0.813 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.8998, allocations: 4 kB / 0.813 GB, free: 4.98 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8998, allocations: 0 / 0.813 GB, free: 4.98 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.8999, allocations: 11.98 kB / 0.813 GB, free: 4.969 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8999, allocations: 0 / 0.813 GB, free: 4.969 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.8999, allocations: 3.906 kB / 0.813 GB, free: 4.965 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9, allocations: 4 kB / 0.813 GB, free: 4.961 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 (4): * Single equations (assignments): 4 * 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.000102/0.9001, allocations: 112.7 kB / 0.8131 GB, free: 4.844 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00088/0.9009, allocations: 213.4 kB / 0.8133 GB, free: 4.629 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.901, allocations: 4 kB / 0.8133 GB, free: 4.625 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.9019, allocations: 209.6 kB / 0.8135 GB, free: 4.406 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.9019, allocations: 4 kB / 0.8135 GB, free: 4.402 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9019, allocations: 4 kB / 0.8135 GB, free: 4.398 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9019, allocations: 3.984 kB / 0.8135 GB, free: 4.395 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.9021, allocations: 130.2 kB / 0.8137 GB, free: 4.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.9021, allocations: 4 kB / 0.8137 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.9021, allocations: 7.938 kB / 0.8137 GB, free: 4.219 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9021, allocations: 0 / 0.8137 GB, free: 4.219 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.9021, allocations: 3.984 kB / 0.8137 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9021, allocations: 0 / 0.8137 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9021, allocations: 0 / 0.8137 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.903, allocations: 237.6 kB / 0.8139 GB, free: 3.965 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.9031, allocations: 84.97 kB / 0.814 GB, free: 3.863 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.9031, allocations: 4.047 kB / 0.814 GB, free: 3.859 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.9031, allocations: 3.984 kB / 0.814 GB, free: 3.855 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.9032, allocations: 4 kB / 0.814 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.9032, allocations: 3.984 kB / 0.814 GB, free: 3.848 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.9032, allocations: 75.28 kB / 0.8141 GB, free: 3.773 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9032, allocations: 4 kB / 0.8141 GB, free: 3.77 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002198/0.9034, allocations: 19.94 kB / 0.8141 GB, free: 3.75 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.001288/0.9047, allocations: 0.7879 MB / 0.8149 GB, free: 2.934 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.9049, allocations: 19.98 kB / 0.8149 GB, free: 2.914 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9049, allocations: 3.938 kB / 0.8149 GB, free: 2.91 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.9049, allocations: 19.31 kB / 0.8149 GB, free: 2.895 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.905, allocations: 8.625 kB / 0.8149 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.9054, allocations: 101.6 kB / 0.815 GB, free: 2.75 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9057, allocations: 0.6768 MB / 0.8157 GB, free: 2.047 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.9057, allocations: 4 kB / 0.8157 GB, free: 2.043 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.9058, allocations: 11.44 kB / 0.8157 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of SimCode: time 6.71e-07/0.9058, allocations: 0 / 0.8157 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.9348, allocations: 0.8733 MB / 0.8165 GB, free: 1.164 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.9351, allocations: 130.9 kB / 0.8167 GB, free: 0.9688 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.667, allocations: 2.297 kB / 0.8167 GB, free: 0.9688 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestMaxAbs.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat does not exist to compare? outputFormat=mat