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.01343/0.01343, allocations: 172 kB / 15.11 MB, free: 5.98 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.506/1.506, allocations: 223.2 MB / 239 MB, free: 1.82 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.001112/0.001112, allocations: 98.62 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09325/0.09325, allocations: 20.32 MB / 361.6 MB, free: 6.648 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.215/1.215, allocations: 127.1 MB / 0.533 GB, free: 17.04 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 15.98 kB / 0.6255 GB, free: 11.07 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 82.86 MB / 0.7065 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.633/0.8391, allocations: 118.6 MB / 0.8223 GB, free: 6.488 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.8394, allocations: 79.52 kB / 0.8224 GB, free: 6.441 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.009723/0.8491, allocations: 3.601 MB / 0.8259 GB, free: 3.383 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8492, allocations: 0 / 0.8259 GB, free: 3.383 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8492, allocations: 1.969 kB / 0.8259 GB, free: 3.383 MB / 0.5262 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.0002432/0.8494, allocations: 354.8 kB / 0.8263 GB, free: 2.992 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8495, allocations: 8.031 kB / 0.8263 GB, free: 2.984 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.8495, allocations: 32.88 kB / 0.8263 GB, free: 2.945 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.8496, allocations: 7.172 kB / 0.8263 GB, free: 2.941 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.8496, allocations: 159.1 kB / 0.8265 GB, free: 2.746 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.8496, allocations: 4 kB / 0.8265 GB, free: 2.742 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.8497, allocations: 0 / 0.8265 GB, free: 2.742 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8498, allocations: 42.19 kB / 0.8265 GB, free: 2.699 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8498, allocations: 4 kB / 0.8265 GB, free: 2.695 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.8498, allocations: 0 / 0.8265 GB, free: 2.695 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8498, allocations: 4.734 kB / 0.8265 GB, free: 2.691 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.8499, allocations: 19.05 kB / 0.8265 GB, free: 2.676 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.85, allocations: 153.4 kB / 0.8267 GB, free: 2.484 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.8501, allocations: 37.17 kB / 0.8267 GB, free: 2.445 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.8504, allocations: 342.6 kB / 0.827 GB, free: 2.043 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8504, allocations: 30.56 kB / 0.8271 GB, free: 2.004 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8504, allocations: 0.7188 kB / 0.8271 GB, free: 2.004 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001463/0.8506, allocations: 58 kB / 0.8271 GB, free: 1.949 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.8506, allocations: 60.05 kB / 0.8272 GB, free: 1.879 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.03e-05/0.8506, allocations: 87.38 kB / 0.8273 GB, free: 1.789 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.8506, allocations: 25.7 kB / 0.8273 GB, free: 1.758 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.8507, allocations: 83.83 kB / 0.8274 GB, free: 1.676 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.8507, allocations: 14.41 kB / 0.8274 GB, free: 1.664 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.8507, allocations: 0 / 0.8274 GB, free: 1.664 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.8508, allocations: 319.4 kB / 0.8277 GB, free: 1.344 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.8508, allocations: 6.438 kB / 0.8277 GB, free: 1.344 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.8508, allocations: 7.984 kB / 0.8277 GB, free: 1.336 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.8508, allocations: 11.75 kB / 0.8277 GB, free: 1.328 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8509, allocations: 0 / 0.8277 GB, free: 1.328 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.808e-05/0.8509, allocations: 55.91 kB / 0.8278 GB, free: 1.277 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.851, allocations: 4 kB / 0.8278 GB, free: 1.273 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.851, allocations: 0 / 0.8278 GB, free: 1.273 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.851, allocations: 4 kB / 0.8278 GB, free: 1.27 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.851, allocations: 4 kB / 0.8278 GB, free: 1.266 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.8511, allocations: 0.8125 kB / 0.8278 GB, free: 1.266 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.8511, allocations: 0 / 0.8278 GB, free: 1.266 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.8511, allocations: 6.031 kB / 0.8278 GB, free: 1.262 MB / 0.5262 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 (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 5.874e-05/0.8511, allocations: 109.8 kB / 0.8279 GB, free: 1.145 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.8512, allocations: 11.02 kB / 0.8279 GB, free: 1.141 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.8513, allocations: 61.33 kB / 0.828 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8513, allocations: 0 / 0.828 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8513, allocations: 0 / 0.828 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8513, allocations: 0.9375 kB / 0.828 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.619e-05/0.8514, allocations: 166.2 kB / 0.8281 GB, free: 0.875 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8514, allocations: 0 / 0.8281 GB, free: 0.875 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.8514, allocations: 12.56 kB / 0.8281 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8514, allocations: 0 / 0.8281 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.8515, allocations: 0 / 0.8281 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8515, allocations: 0 / 0.8281 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8515, allocations: 0.8594 kB / 0.8281 GB, free: 0.8633 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.608e-05/0.8515, allocations: 77.7 kB / 0.8282 GB, free: 0.7773 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.8516, allocations: 88.38 kB / 0.8283 GB, free: 0.6758 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.8516, allocations: 3.5 kB / 0.8283 GB, free: 0.6758 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.8516, allocations: 4 kB / 0.8283 GB, free: 0.6719 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.8516, allocations: 7.938 kB / 0.8283 GB, free: 0.6641 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.8516, allocations: 0 / 0.8283 GB, free: 0.6641 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.678e-05/0.8517, allocations: 75.28 kB / 0.8284 GB, free: 0.5898 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8517, allocations: 1.688 kB / 0.8284 GB, free: 0.5898 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002257/0.8519, allocations: 31.5 kB / 0.8284 GB, free: 0.5625 MB / 0.5262 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 () * Number of clocked 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.0003488/0.8522, allocations: 0.6267 MB / 0.829 GB, free: 15.91 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.8523, allocations: 22.75 kB / 0.829 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8524, allocations: 4 kB / 0.829 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.8524, allocations: 10.98 kB / 0.8291 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.897e-05/0.8525, allocations: 5.484 kB / 0.8291 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.8528, allocations: 139.4 kB / 0.8292 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.8531, allocations: 0.677 MB / 0.8299 GB, free: 15.01 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.8531, allocations: 8 kB / 0.8299 GB, free: 15 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.8531, allocations: 7.438 kB / 0.8299 GB, free: 15 MB / 0.5418 GB Notification: Performance of SimCode: time 2.31e-07/0.8531, allocations: 6.062 kB / 0.8299 GB, free: 15 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.8646, allocations: 1.14 MB / 0.831 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.8648, allocations: 164.1 kB / 0.8311 GB, free: 13.83 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.487, allocations: 0 / 0.8311 GB, free: 13.83 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