Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",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.001013/0.001013, allocations: 172.5 kB / 7.647 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.759/1.759, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001059/0.001059, allocations: 98.5 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08526/0.08526, allocations: 20.18 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.9182/0.9182, allocations: 127.6 MB / 0.5233 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.477e-05, allocations: 4 kB / 0.6111 GB, free: 7.742 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.894, allocations: 82.86 MB / 0.692 GB, free: 3.031 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/1.164, allocations: 116.9 MB / 0.8062 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004229/1.164, allocations: 67.95 kB / 0.8062 GB, free: 12.24 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01373/1.178, allocations: 3.13 MB / 0.8093 GB, free: 9.105 MB / 0.5418 GB Notification: Performance of FrontEnd: time 7.864e-06/1.178, allocations: 4 kB / 0.8093 GB, free: 9.102 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.178, allocations: 0 / 0.8093 GB, free: 9.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006672/1.179, allocations: 334.4 kB / 0.8096 GB, free: 8.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 9.126e-05/1.179, allocations: 8.031 kB / 0.8096 GB, free: 8.723 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/1.179, allocations: 0 / 0.8096 GB, free: 8.723 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/1.179, allocations: 175 kB / 0.8098 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.179, allocations: 0 / 0.8098 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/1.179, allocations: 0 / 0.8098 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/1.179, allocations: 4 kB / 0.8098 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/1.18, allocations: 37.64 kB / 0.8098 GB, free: 8.465 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.18, allocations: 4 kB / 0.8098 GB, free: 8.461 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/1.18, allocations: 0 / 0.8098 GB, free: 8.461 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/1.18, allocations: 3.984 kB / 0.8098 GB, free: 8.457 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/1.18, allocations: 134.1 kB / 0.8099 GB, free: 8.289 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/1.18, allocations: 38.61 kB / 0.81 GB, free: 8.242 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/1.18, allocations: 8.891 kB / 0.81 GB, free: 8.23 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.18, allocations: 0 / 0.81 GB, free: 8.23 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/1.18, allocations: 30.56 kB / 0.81 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/1.18, allocations: 0 / 0.81 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0003345/1.181, allocations: 49.67 kB / 0.8101 GB, free: 8.137 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.181, allocations: 51.41 kB / 0.8101 GB, free: 8.074 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.181, allocations: 93.03 kB / 0.8102 GB, free: 7.977 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.181, allocations: 25.7 kB / 0.8102 GB, free: 7.945 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/1.181, allocations: 80.14 kB / 0.8103 GB, free: 7.863 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/1.181, allocations: 11.84 kB / 0.8103 GB, free: 7.852 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.181, allocations: 0 / 0.8103 GB, free: 7.852 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.181, allocations: 318.8 kB / 0.8106 GB, free: 7.531 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/1.181, allocations: 4 kB / 0.8106 GB, free: 7.527 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/1.181, allocations: 4 kB / 0.8106 GB, free: 7.523 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/1.181, allocations: 8.156 kB / 0.8106 GB, free: 7.516 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.181, allocations: 3.953 kB / 0.8106 GB, free: 7.512 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001389/1.181, allocations: 45.69 kB / 0.8107 GB, free: 7.461 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.182, allocations: 8 kB / 0.8107 GB, free: 7.453 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.182, allocations: 7.406 kB / 0.8107 GB, free: 7.449 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/1.182, allocations: 0 / 0.8107 GB, free: 7.449 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-06/1.182, allocations: 8.031 kB / 0.8107 GB, free: 7.441 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.182, allocations: 0 / 0.8107 GB, free: 7.441 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/1.182, allocations: 3.984 kB / 0.8107 GB, free: 7.438 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.182, allocations: 0 / 0.8107 GB, free: 7.438 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001278/1.182, allocations: 116.7 kB / 0.8108 GB, free: 7.316 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.465e-05/1.182, allocations: 49.55 kB / 0.8109 GB, free: 7.262 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/1.182, allocations: 0 / 0.8109 GB, free: 7.262 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/1.182, allocations: 4.125 kB / 0.8109 GB, free: 7.254 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.182, allocations: 4 kB / 0.8109 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.182, allocations: 0 / 0.8109 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.182, allocations: 0 / 0.8109 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/1.182, allocations: 134.2 kB / 0.811 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/1.182, allocations: 0 / 0.811 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/1.182, allocations: 0 / 0.811 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.182, allocations: 4.031 kB / 0.811 GB, free: 7.078 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.182, allocations: 0 / 0.811 GB, free: 7.078 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.182, allocations: 0 / 0.811 GB, free: 7.078 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.182, allocations: 0 / 0.811 GB, free: 7.078 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/1.182, allocations: 73.38 kB / 0.8111 GB, free: 6.988 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/1.182, allocations: 81.06 kB / 0.8112 GB, free: 6.891 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/1.183, allocations: 0 / 0.8112 GB, free: 6.891 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/1.183, allocations: 0 / 0.8112 GB, free: 6.891 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/1.183, allocations: 8.016 kB / 0.8112 GB, free: 6.883 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/1.183, allocations: 8 kB / 0.8112 GB, free: 6.875 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 4.988e-05/1.183, allocations: 75.28 kB / 0.8112 GB, free: 6.801 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.81e-07/1.183, allocations: 0 / 0.8112 GB, free: 6.801 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003477/1.183, allocations: 20 kB / 0.8113 GB, free: 6.781 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0006879/1.184, allocations: 0.628 MB / 0.8119 GB, free: 6.121 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001371/1.184, allocations: 15.94 kB / 0.8119 GB, free: 6.105 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/1.184, allocations: 0 / 0.8119 GB, free: 6.105 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/1.184, allocations: 8 kB / 0.8119 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.184, allocations: 7.984 kB / 0.8119 GB, free: 6.09 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/1.185, allocations: 101 kB / 0.812 GB, free: 5.957 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/1.185, allocations: 0.6807 MB / 0.8127 GB, free: 5.25 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 3.083e-05/1.185, allocations: 128 / 0.8127 GB, free: 5.25 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/1.185, allocations: 11.44 kB / 0.8127 GB, free: 5.238 MB / 0.5418 GB Notification: Performance of SimCode: time 3.41e-07/1.185, allocations: 0 / 0.8127 GB, free: 5.238 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/1.218, allocations: 0.9439 MB / 0.8136 GB, free: 4.305 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/1.218, allocations: 133.5 kB / 0.8137 GB, free: 4.117 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.969, allocations: 0 / 0.8137 GB, free: 4.117 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestGenerateGrid.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat does not exist to compare? outputFormat=mat