Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.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.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",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.00115/0.00115, allocations: 172 kB / 12.73 MB, free: 2.586 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.442/1.442, 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.0009105/0.0009106, allocations: 94.08 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.08764/0.08764, allocations: 20.16 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.233/1.233, allocations: 127.5 MB / 0.5284 GB, free: 15.9 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.814e-05/4.817e-05, allocations: 4.219 kB / 0.6181 GB, free: 3.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.656, allocations: 82.85 MB / 0.699 GB, free: 31.96 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.8578, allocations: 130.2 MB / 0.8261 GB, free: 7.008 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.8581, allocations: 91.19 kB / 0.8262 GB, free: 6.922 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.7276/1.586, allocations: 59.64 MB / 0.8844 GB, free: 137.8 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.753e-06/1.586, allocations: 0 / 0.8844 GB, free: 137.8 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0001736/1.586, allocations: 64.78 kB / 0.8845 GB, free: 137.8 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 687 * Number of variables: 687 Notification: Performance of Generate backend data structure: time 0.01274/1.599, allocations: 2.826 MB / 0.8873 GB, free: 136.8 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 7.354e-05/1.599, allocations: 10.12 kB / 0.8873 GB, free: 136.8 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001608/1.6, allocations: 372.4 kB / 0.8876 GB, free: 136.7 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.602, allocations: 323.3 kB / 0.8879 GB, free: 136.6 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006389/1.608, allocations: 1.643 MB / 0.8895 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/1.609, allocations: 212.8 kB / 0.8897 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/1.609, allocations: 227.6 kB / 0.8899 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007689/1.617, allocations: 4.167 MB / 0.894 GB, free: 135 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.65e-05/1.617, allocations: 31.91 kB / 0.894 GB, free: 135 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/1.617, allocations: 100.7 kB / 0.8941 GB, free: 135 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004659/1.618, allocations: 288 kB / 0.8944 GB, free: 135 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/1.625, allocations: 3.321 MB / 0.8977 GB, free: 135 MB / 0.6043 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02625/1.651, allocations: 18.9 MB / 0.9161 GB, free: 121.7 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/1.655, allocations: 1.744 MB / 0.9178 GB, free: 121.1 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.657, allocations: 0.994 MB / 0.9188 GB, free: 120.7 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/1.657, allocations: 27.98 kB / 0.9188 GB, free: 120.7 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/1.658, allocations: 49.22 kB / 0.9189 GB, free: 120.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=136): time 8.756e-06/1.658, allocations: 4 kB / 0.9189 GB, free: 120.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=136): time 0.009457/1.667, allocations: 2.571 MB / 0.9214 GB, free: 119.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.667, allocations: 271.4 kB / 0.9216 GB, free: 119.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/1.671, allocations: 1.927 MB / 0.9235 GB, free: 118.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0005064/1.672, allocations: 52.58 kB / 0.9236 GB, free: 118.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/1.673, allocations: 1.25 MB / 0.9248 GB, free: 117.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009043/1.674, allocations: 0.504 MB / 0.9253 GB, free: 117.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/1.674, allocations: 43.16 kB / 0.9253 GB, free: 117.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.675, allocations: 405.7 kB / 0.9257 GB, free: 116.9 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.677, allocations: 1.091 MB / 0.9268 GB, free: 116.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/1.679, allocations: 2.095 MB / 0.9288 GB, free: 114.9 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/1.681, allocations: 1.426 MB / 0.9302 GB, free: 114.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.024e-05/1.681, allocations: 9.375 kB / 0.9302 GB, free: 114.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=313) (initialization): time 0.0141/1.696, allocations: 4.314 MB / 0.9344 GB, free: 113 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/1.696, allocations: 18.28 kB / 0.9345 GB, free: 113 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/1.696, allocations: 31.22 kB / 0.9345 GB, free: 113 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/1.702, allocations: 1.104 MB / 0.9356 GB, free: 112.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/1.705, allocations: 0.6728 MB / 0.9362 GB, free: 112.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.723, allocations: 10.86 MB / 0.9468 GB, free: 105.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/1.728, allocations: 439.1 kB / 0.9472 GB, free: 105.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009329/1.728, allocations: 136.3 kB / 0.9474 GB, free: 105.2 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 274 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 6} * Non-linear torn systems: 1 {5 15} Notification: Performance of prepare postOptimizeDAE: time 0.001332/1.73, allocations: 264.5 kB / 0.9476 GB, free: 105 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.731, allocations: 218.5 kB / 0.9478 GB, free: 104.8 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/1.738, allocations: 2.681 MB / 0.9505 GB, free: 103.9 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.738, allocations: 13.72 kB / 0.9505 GB, free: 103.9 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/1.738, allocations: 3.469 kB / 0.9505 GB, free: 103.9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/1.738, allocations: 10.81 kB / 0.9505 GB, free: 103.9 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005554/1.743, allocations: 2.25 MB / 0.9527 GB, free: 103.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.743, allocations: 2.156 kB / 0.9527 GB, free: 103.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/1.746, allocations: 0.4962 MB / 0.9532 GB, free: 103 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/1.749, allocations: 0.5671 MB / 0.9537 GB, free: 102.7 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.749, allocations: 51.86 kB / 0.9538 GB, free: 102.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007852/1.757, allocations: 7.938 MB / 0.9615 GB, free: 94.99 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.757, allocations: 0 / 0.9615 GB, free: 94.99 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/1.765, allocations: 3.992 MB / 0.9654 GB, free: 91.17 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.768, allocations: 0.6656 MB / 0.9661 GB, free: 90.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.769, allocations: 35.98 kB / 0.9661 GB, free: 90.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.772, allocations: 199.5 kB / 0.9663 GB, free: 90.25 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.773, allocations: 111.7 kB / 0.9664 GB, free: 90.14 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.773, allocations: 51.89 kB / 0.9664 GB, free: 90.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.003145/1.776, allocations: 1.509 MB / 0.9679 GB, free: 88.56 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3.31e-07/1.776, allocations: 0 / 0.9679 GB, free: 88.56 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.004733/1.781, allocations: 0.9512 MB / 0.9688 GB, free: 87.61 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (thinWall2.U[1],thinWall2.U[2],thinWall2.U[3],thinWall2.U[4],thinWall2.U[5],thickWall2.U[1],thinWall1.U[1],thinWall1.U[2],thinWall1.U[3],thinWall1.U[4],thinWall1.U[5],thickWall1.U[1],thinWall.U[1],thinWall.U[2],thinWall.U[3],thinWall.U[4],thinWall.U[5],thickWall.U[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007622/1.788, allocations: 4.724 MB / 0.9735 GB, free: 82.84 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.007255/1.796, allocations: 3.302 MB / 0.9767 GB, free: 79.5 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.796, allocations: 1 kB / 0.9767 GB, free: 79.5 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/1.798, allocations: 1.537 MB / 0.9782 GB, free: 77.91 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.801, allocations: 387.1 kB / 0.9786 GB, free: 77.54 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.817, allocations: 6.111 MB / 0.9845 GB, free: 71.48 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/1.82, allocations: 2.173 MB / 0.9866 GB, free: 69.28 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.003141/1.823, allocations: 0.6736 MB / 0.9873 GB, free: 68.62 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.825, allocations: 0.9053 MB / 0.9882 GB, free: 67.71 MB / 0.6043 GB Notification: Performance of SimCode: time 1.322e-06/1.825, allocations: 0 / 0.9882 GB, free: 67.71 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09794/1.923, allocations: 54.91 MB / 1.042 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.923, allocations: 183.3 kB / 1.042 GB, free: 13.74 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.69/6.614, allocations: 0 / 1.042 GB, free: 13.74 MB / 0.6043 GB (rm -f ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe >> ../files/ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort.fmu > ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat does not exist to compare? outputFormat=mat