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.00113/0.00113, allocations: 174.3 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.594/1.594, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008492/0.000849, allocations: 83.97 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09725/0.09725, allocations: 20.17 MB / 356.7 MB, free: 5.91 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.179/1.179, allocations: 127.5 MB / 0.5284 GB, free: 15.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.456e-05, allocations: 4 kB / 0.6181 GB, free: 3.984 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5462, allocations: 82.84 MB / 0.699 GB, free: 32.16 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.7435, allocations: 118.6 MB / 0.8148 GB, free: 2.645 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.7438, allocations: 75.94 kB / 0.8148 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.7546, allocations: 3.593 MB / 0.8183 GB, free: 15.03 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7546, allocations: 0 / 0.8183 GB, free: 15.03 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7546, allocations: 2.156 kB / 0.8183 GB, free: 15.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003424/0.755, allocations: 343 kB / 0.8187 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.7551, allocations: 8.75 kB / 0.8187 GB, free: 14.64 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.7551, allocations: 38.56 kB / 0.8187 GB, free: 14.6 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.7551, allocations: 3.953 kB / 0.8187 GB, free: 14.59 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7553, allocations: 159.7 kB / 0.8189 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.7553, allocations: 0 / 0.8189 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.7553, allocations: 8.781 kB / 0.8189 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.7554, allocations: 38.53 kB / 0.8189 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7554, allocations: 0 / 0.8189 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.7555, allocations: 0 / 0.8189 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7555, allocations: 0.9375 kB / 0.8189 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.979e-05/0.7555, allocations: 12 kB / 0.8189 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.7557, allocations: 158.5 kB / 0.8191 GB, free: 14.13 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.7558, allocations: 35.52 kB / 0.8191 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.7559, allocations: 21.64 kB / 0.8191 GB, free: 14.07 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.7563, allocations: 345 kB / 0.8195 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.7563, allocations: 33.56 kB / 0.8195 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.7563, allocations: 0 / 0.8195 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4): time 0.0001538/0.7565, allocations: 49.64 kB / 0.8195 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.7565, allocations: 59.39 kB / 0.8196 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.7566, allocations: 85 kB / 0.8197 GB, free: 13.4 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.7566, allocations: 30.2 kB / 0.8197 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.7566, allocations: 81.39 kB / 0.8198 GB, free: 13.29 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.7567, allocations: 11.83 kB / 0.8198 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.7567, allocations: 3.938 kB / 0.8198 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7568, allocations: 319.7 kB / 0.8201 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.7568, allocations: 8.438 kB / 0.8201 GB, free: 12.94 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.7569, allocations: 8.969 kB / 0.8201 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.7569, allocations: 11.98 kB / 0.8201 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7569, allocations: 0.625 kB / 0.8201 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.498e-05/0.757, allocations: 45.69 kB / 0.8202 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.757, allocations: 10.03 kB / 0.8202 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.757, allocations: 0 / 0.8202 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.7571, allocations: 1.125 kB / 0.8202 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.7571, allocations: 4 kB / 0.8202 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7571, allocations: 6.062 kB / 0.8202 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.7571, allocations: 4.688 kB / 0.8202 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.7572, allocations: 0 / 0.8202 GB, free: 12.85 MB / 0.5574 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 7.138e-05/0.7572, allocations: 110.3 kB / 0.8203 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.7572, allocations: 4 kB / 0.8203 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.7574, allocations: 62.67 kB / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.7574, allocations: 0 / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7574, allocations: 4 kB / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7574, allocations: 0.5312 kB / 0.8204 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.7575, allocations: 154.2 kB / 0.8205 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7575, allocations: 2.125 kB / 0.8205 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.7576, allocations: 9.062 kB / 0.8205 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7576, allocations: 0 / 0.8205 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7576, allocations: 4.75 kB / 0.8205 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7576, allocations: 0 / 0.8205 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7576, allocations: 0 / 0.8205 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.7577, allocations: 78.67 kB / 0.8206 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.7578, allocations: 81.11 kB / 0.8207 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.7578, allocations: 0.75 kB / 0.8207 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.7578, allocations: 0.5938 kB / 0.8207 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.7578, allocations: 7.984 kB / 0.8207 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.7578, allocations: 1.125 kB / 0.8207 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.7579, allocations: 78.75 kB / 0.8208 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7579, allocations: 1.781 kB / 0.8208 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0001866/0.7581, allocations: 23.94 kB / 0.8208 GB, free: 12.15 MB / 0.5574 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.0004419/0.7585, allocations: 0.6535 MB / 0.8214 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.7586, allocations: 16 kB / 0.8215 GB, free: 11.45 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7586, allocations: 4 kB / 0.8215 GB, free: 11.45 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.7587, allocations: 13.75 kB / 0.8215 GB, free: 11.44 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.614e-05/0.7588, allocations: 3.938 kB / 0.8215 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.7591, allocations: 102.6 kB / 0.8216 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7594, allocations: 0.6776 MB / 0.8222 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.7594, allocations: 6.562 kB / 0.8222 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.7594, allocations: 7.438 kB / 0.8222 GB, free: 10.58 MB / 0.5574 GB Notification: Performance of SimCode: time 2.61e-07/0.7594, allocations: 0 / 0.8222 GB, free: 10.58 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08896/0.8484, allocations: 1.16 MB / 0.8234 GB, free: 9.652 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.8486, allocations: 144 kB / 0.8235 GB, free: 9.426 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.492, allocations: 5.859 kB / 0.8235 GB, free: 9.422 MB / 0.5574 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