Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.252/2.252, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 0.7915 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 87.91 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.711e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3088, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.045/6.354, allocations: 2.167 GB / 3.386 GB, free: 98.36 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/6.354, allocations: 91.95 kB / 3.386 GB, free: 98.27 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/9.521, allocations: 0.7206 GB / 4.107 GB, free: 274.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.885e-06/9.522, allocations: 3.125 kB / 4.107 GB, free: 274.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001251/9.522, allocations: 43.94 kB / 4.107 GB, free: 274.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.003024/9.525, allocations: 1.564 MB / 4.109 GB, free: 273.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/9.525, allocations: 11 kB / 4.109 GB, free: 273.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/9.525, allocations: 169.7 kB / 4.109 GB, free: 273.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/9.528, allocations: 493.9 kB / 4.109 GB, free: 273 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/9.531, allocations: 1.358 MB / 4.111 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/9.531, allocations: 84.72 kB / 4.111 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/9.531, allocations: 114.3 kB / 4.111 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/9.533, allocations: 1.288 MB / 4.112 GB, free: 271.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/9.533, allocations: 7.562 kB / 4.112 GB, free: 271.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/9.533, allocations: 39.81 kB / 4.112 GB, free: 271.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/9.533, allocations: 42.42 kB / 4.112 GB, free: 271.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/9.535, allocations: 1.221 MB / 4.113 GB, free: 270.8 MB / 1.167 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.007014/9.542, allocations: 5.055 MB / 4.118 GB, free: 266.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/9.543, allocations: 0.9315 MB / 4.119 GB, free: 266.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/9.544, allocations: 0.5905 MB / 4.12 GB, free: 266.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/9.545, allocations: 203.7 kB / 4.12 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/9.545, allocations: 50.38 kB / 4.12 GB, free: 265.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 4.999e-06/9.545, allocations: 0 / 4.12 GB, free: 265.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.006058/9.551, allocations: 2.677 MB / 4.123 GB, free: 264.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/9.551, allocations: 60.06 kB / 4.123 GB, free: 264.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/9.552, allocations: 0.9102 MB / 4.123 GB, free: 263.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/9.552, allocations: 46.48 kB / 4.124 GB, free: 263.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/9.553, allocations: 0.5569 MB / 4.124 GB, free: 263.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/9.553, allocations: 294.4 kB / 4.124 GB, free: 263.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/9.553, allocations: 15.69 kB / 4.124 GB, free: 263.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/9.553, allocations: 343 kB / 4.125 GB, free: 262.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/9.554, allocations: 444.8 kB / 4.125 GB, free: 262.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/9.554, allocations: 0.5991 MB / 4.126 GB, free: 262.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/9.555, allocations: 0.546 MB / 4.126 GB, free: 261.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/9.555, allocations: 0 / 4.126 GB, free: 261.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001678/9.557, allocations: 1.256 MB / 4.127 GB, free: 260.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/9.557, allocations: 0.7976 MB / 4.128 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/9.557, allocations: 2.734 kB / 4.128 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/9.557, allocations: 76.81 kB / 4.128 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/9.558, allocations: 183.4 kB / 4.128 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/9.56, allocations: 2.99 MB / 4.131 GB, free: 256.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/9.562, allocations: 152 kB / 4.132 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/9.562, allocations: 29.34 kB / 4.132 GB, free: 256.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/9.562, allocations: 4 kB / 4.132 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/9.563, allocations: 1.126 MB / 4.133 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/9.563, allocations: 0 / 4.133 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/9.564, allocations: 72.34 kB / 4.133 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/9.564, allocations: 179.9 kB / 4.133 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/9.566, allocations: 1.809 MB / 4.135 GB, free: 253 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/9.567, allocations: 149.3 kB / 4.135 GB, free: 252.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/9.567, allocations: 32 kB / 4.135 GB, free: 252.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/9.567, allocations: 148.8 kB / 4.135 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/9.568, allocations: 121.5 kB / 4.135 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/9.569, allocations: 1.235 MB / 4.136 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/9.569, allocations: 8 kB / 4.136 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/9.57, allocations: 4 kB / 4.136 GB, free: 251.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/9.571, allocations: 1.274 MB / 4.138 GB, free: 249.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/9.575, allocations: 2.902 MB / 4.14 GB, free: 247 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/9.575, allocations: 4 kB / 4.14 GB, free: 247 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/9.576, allocations: 247 kB / 4.141 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/9.576, allocations: 72.95 kB / 4.141 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/9.576, allocations: 27.98 kB / 4.141 GB, free: 246.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/9.578, allocations: 2.978 MB / 4.144 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/9.578, allocations: 4 kB / 4.144 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/9.58, allocations: 1.989 MB / 4.146 GB, free: 241.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/9.581, allocations: 339.6 kB / 4.146 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/9.581, allocations: 23.95 kB / 4.146 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/9.582, allocations: 115.3 kB / 4.146 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/9.582, allocations: 56.7 kB / 4.146 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/9.582, allocations: 31.98 kB / 4.146 GB, free: 240.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008816/9.583, allocations: 0.7277 MB / 4.147 GB, free: 240.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/9.583, allocations: 0 / 4.147 GB, free: 240.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002484/9.586, allocations: 0.8007 MB / 4.148 GB, free: 239.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004935/9.591, allocations: 4.343 MB / 4.152 GB, free: 235.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002846/9.594, allocations: 1.947 MB / 4.154 GB, free: 233.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/9.594, allocations: 2.844 kB / 4.154 GB, free: 233.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/9.594, allocations: 0.6706 MB / 4.154 GB, free: 232.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/9.598, allocations: 0.7959 MB / 4.155 GB, free: 231.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/9.603, allocations: 3.158 MB / 4.158 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/9.604, allocations: 1.478 MB / 4.16 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002457/9.606, allocations: 1.031 MB / 4.161 GB, free: 226.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/9.607, allocations: 463.2 kB / 4.161 GB, free: 225.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/9.607, allocations: 0 / 4.161 GB, free: 225.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09741/9.704, allocations: 64.37 MB / 4.224 GB, free: 162.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/9.704, allocations: 260.1 kB / 4.224 GB, free: 161.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/13.83, allocations: 6.25 kB / 4.224 GB, free: 161.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat does not exist to compare? outputFormat=mat