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.001411/0.001411, allocations: 174.9 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.509/1.509, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008528/0.0008528, allocations: 84.14 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09288/0.09288, allocations: 20.17 MB / 356.7 MB, free: 5.918 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.235/1.235, allocations: 127.5 MB / 0.5284 GB, free: 15.94 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.643e-05, allocations: 7.938 kB / 0.6181 GB, free: 3.953 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5648, allocations: 82.83 MB / 0.699 GB, free: 32.3 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.7632, allocations: 117.5 MB / 0.8137 GB, free: 3.699 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.7635, allocations: 71.95 kB / 0.8138 GB, free: 3.629 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.008561/0.7721, allocations: 3.141 MB / 0.8169 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7721, allocations: 0.5625 kB / 0.8169 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.7722, allocations: 3.156 kB / 0.8169 GB, free: 0.4922 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.0003236/0.7725, allocations: 334.4 kB / 0.8172 GB, free: 124 kB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.7725, allocations: 12.75 kB / 0.8172 GB, free: 112 kB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.7726, allocations: 30.56 kB / 0.8172 GB, free: 72 kB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.7726, allocations: 7.609 kB / 0.8172 GB, free: 68 kB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.7728, allocations: 163.1 kB / 0.8174 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.7728, allocations: 0 / 0.8174 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7729, allocations: 4.641 kB / 0.8174 GB, free: 15.86 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.773, allocations: 30.83 kB / 0.8174 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.773, allocations: 3.938 kB / 0.8174 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.773, allocations: 3.984 kB / 0.8174 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.7731, allocations: 5.344 kB / 0.8174 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.7731, allocations: 4 kB / 0.8174 GB, free: 15.81 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.7733, allocations: 161.5 kB / 0.8176 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.7734, allocations: 35.69 kB / 0.8176 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.7734, allocations: 10.17 kB / 0.8176 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 9.056e-06/0.7734, allocations: 0 / 0.8176 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.7735, allocations: 31.97 kB / 0.8177 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7735, allocations: 4 kB / 0.8177 GB, free: 15.51 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3): time 0.0001465/0.7736, allocations: 45.62 kB / 0.8177 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.7737, allocations: 56.56 kB / 0.8178 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.7738, allocations: 85.66 kB / 0.8178 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.7738, allocations: 25.7 kB / 0.8179 GB, free: 15.27 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.7738, allocations: 81.11 kB / 0.8179 GB, free: 15.19 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.7739, allocations: 15.84 kB / 0.818 GB, free: 15.17 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.7739, allocations: 3.562 kB / 0.818 GB, free: 15.17 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.774, allocations: 318.8 kB / 0.8183 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.774, allocations: 4 kB / 0.8183 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.7741, allocations: 4 kB / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.7741, allocations: 8.312 kB / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7741, allocations: 0 / 0.8183 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.15e-05/0.7742, allocations: 53.66 kB / 0.8183 GB, free: 14.78 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7742, allocations: 5.25 kB / 0.8183 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7742, allocations: 8.25 kB / 0.8183 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7742, allocations: 0 / 0.8183 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.7743, allocations: 0.9688 kB / 0.8183 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7743, allocations: 4 kB / 0.8184 GB, free: 14.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.7743, allocations: 3.984 kB / 0.8184 GB, free: 14.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.7743, allocations: 0.625 kB / 0.8184 GB, free: 14.76 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 (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 7.367e-05/0.7744, allocations: 106.9 kB / 0.8185 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.7744, allocations: 3.906 kB / 0.8185 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.7744, allocations: 7.5 kB / 0.8185 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7744, allocations: 1 kB / 0.8185 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7745, allocations: 2.25 kB / 0.8185 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7745, allocations: 0.7188 kB / 0.8185 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.7746, allocations: 153.6 kB / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7746, allocations: 0.8438 kB / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.7746, allocations: 4 kB / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.7746, allocations: 2.156 kB / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.7746, allocations: 0 / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7746, allocations: 0 / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7746, allocations: 0 / 0.8186 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.7748, allocations: 73.89 kB / 0.8187 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.7748, allocations: 81.11 kB / 0.8188 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7748, allocations: 4.828 kB / 0.8188 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.7748, allocations: 0 / 0.8188 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.7749, allocations: 2.969 kB / 0.8188 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.7749, allocations: 0 / 0.8188 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.7749, allocations: 79.28 kB / 0.8189 GB, free: 14.16 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7749, allocations: 0 / 0.8189 GB, free: 14.16 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002259/0.7752, allocations: 23.98 kB / 0.8189 GB, free: 14.14 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 (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.0004495/0.7756, allocations: 0.6342 MB / 0.8195 GB, free: 13.47 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.7757, allocations: 8 kB / 0.8195 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7758, allocations: 1.031 kB / 0.8195 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.7758, allocations: 15.98 kB / 0.8195 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.7759, allocations: 5.703 kB / 0.8195 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.7762, allocations: 94.58 kB / 0.8196 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.7765, allocations: 0.6779 MB / 0.8203 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.7765, allocations: 3.625 kB / 0.8203 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.7766, allocations: 16.47 kB / 0.8203 GB, free: 12.6 MB / 0.5574 GB Notification: Performance of SimCode: time 7.42e-07/0.7766, allocations: 0 / 0.8203 GB, free: 12.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/0.8435, allocations: 1.219 MB / 0.8215 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.8438, allocations: 150.4 kB / 0.8216 GB, free: 11.39 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.587, allocations: 5.031 kB / 0.8216 GB, free: 11.39 MB / 0.5574 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