Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 405.3 MB, free: 13.3 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.001528/0.001528, allocations: 185.9 kB / 498.1 MB, free: 5.523 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0008566/0.0008564, allocations: 107.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003874, allocations: 9.062 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.23/5.532, allocations: 2.167 GB / 3.39 GB, free: 320 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/5.532, allocations: 104.8 kB / 3.39 GB, free: 319.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.024/7.556, allocations: 0.7213 GB / 4.111 GB, free: 35.82 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/7.556, allocations: 0 / 4.111 GB, free: 35.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001121/7.557, allocations: 39.98 kB / 4.111 GB, free: 35.78 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.003826/7.56, allocations: 1.826 MB / 4.113 GB, free: 33.89 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/7.56, allocations: 12.83 kB / 4.113 GB, free: 33.88 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002285/7.561, allocations: 172.5 kB / 4.113 GB, free: 33.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/7.564, allocations: 493.6 kB / 4.113 GB, free: 33.22 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/7.566, allocations: 1.374 MB / 4.115 GB, free: 31.79 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/7.566, allocations: 78.06 kB / 4.115 GB, free: 31.71 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/7.566, allocations: 108 kB / 4.115 GB, free: 31.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/7.568, allocations: 1.3 MB / 4.116 GB, free: 30.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/7.568, allocations: 3.984 kB / 4.116 GB, free: 30.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/7.568, allocations: 44 kB / 4.116 GB, free: 30.22 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/7.569, allocations: 38.06 kB / 4.116 GB, free: 30.18 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/7.57, allocations: 1.257 MB / 4.118 GB, free: 28.92 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005986/7.576, allocations: 5.043 MB / 4.122 GB, free: 23.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/7.577, allocations: 0.9488 MB / 4.123 GB, free: 22.53 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/7.578, allocations: 203 kB / 4.124 GB, free: 22.29 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/7.578, allocations: 47.22 kB / 4.124 GB, free: 22.24 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 2.915e-06/7.578, allocations: 0 / 4.124 GB, free: 22.24 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.004817/7.582, allocations: 3.115 MB / 4.127 GB, free: 19.06 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/7.583, allocations: 61.16 kB / 4.127 GB, free: 18.99 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/7.583, allocations: 0.9236 MB / 4.128 GB, free: 18.05 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/7.584, allocations: 41.7 kB / 4.128 GB, free: 18 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/7.584, allocations: 0.5509 MB / 4.128 GB, free: 17.45 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/7.584, allocations: 299.6 kB / 4.129 GB, free: 17.15 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/7.584, allocations: 24 kB / 4.129 GB, free: 17.12 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/7.584, allocations: 341.9 kB / 4.129 GB, free: 16.79 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/7.585, allocations: 453.6 kB / 4.129 GB, free: 16.34 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/7.585, allocations: 0.6113 MB / 4.13 GB, free: 15.68 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/7.586, allocations: 0.5611 MB / 4.13 GB, free: 15.12 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/7.586, allocations: 0 / 4.13 GB, free: 15.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001492/7.587, allocations: 1.262 MB / 4.132 GB, free: 13.85 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/7.588, allocations: 0.7986 MB / 4.132 GB, free: 12.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/7.588, allocations: 4 kB / 4.132 GB, free: 12.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/7.588, allocations: 68.81 kB / 4.133 GB, free: 12.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/7.589, allocations: 191.7 kB / 4.133 GB, free: 12.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/7.59, allocations: 3.003 MB / 4.136 GB, free: 9.539 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/7.592, allocations: 151.6 kB / 4.136 GB, free: 9.391 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/7.592, allocations: 35.98 kB / 4.136 GB, free: 9.355 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/7.592, allocations: 7.953 kB / 4.136 GB, free: 9.348 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/7.593, allocations: 1.137 MB / 4.137 GB, free: 8.207 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/7.593, allocations: 4 kB / 4.137 GB, free: 8.203 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/7.594, allocations: 69.06 kB / 4.137 GB, free: 8.133 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/7.594, allocations: 171.8 kB / 4.137 GB, free: 7.965 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/7.595, allocations: 1.839 MB / 4.139 GB, free: 5.996 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/7.597, allocations: 155.6 kB / 4.139 GB, free: 5.844 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/7.597, allocations: 31.94 kB / 4.139 GB, free: 5.812 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 () * Number of clocked 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.0009743/7.598, allocations: 0.6148 MB / 4.14 GB, free: 5.188 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/7.598, allocations: 118.7 kB / 4.14 GB, free: 5.07 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/7.6, allocations: 1.252 MB / 4.141 GB, free: 3.805 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/7.6, allocations: 8 kB / 4.141 GB, free: 3.797 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/7.6, allocations: 7.984 kB / 4.141 GB, free: 3.789 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/7.601, allocations: 1.288 MB / 4.142 GB, free: 2.43 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6792/8.28, allocations: 2.904 MB / 4.145 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/8.28, allocations: 1.844 kB / 4.145 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/8.281, allocations: 238.7 kB / 4.145 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/8.282, allocations: 70.58 kB / 4.145 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/8.282, allocations: 25 kB / 4.146 GB, free: 313.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/8.284, allocations: 3.004 MB / 4.148 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/8.284, allocations: 5.562 kB / 4.148 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/8.287, allocations: 2.018 MB / 4.15 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/8.288, allocations: 340 kB / 4.151 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/8.288, allocations: 28.62 kB / 4.151 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/8.289, allocations: 115.6 kB / 4.151 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/8.289, allocations: 50.59 kB / 4.151 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/8.289, allocations: 34.83 kB / 4.151 GB, free: 310.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001155/8.29, allocations: 0.7373 MB / 4.152 GB, free: 310.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/8.29, allocations: 0 / 4.152 GB, free: 310.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002644/8.293, allocations: 0.7996 MB / 4.152 GB, free: 310.5 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 () * Number of clocked 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.00584/8.299, allocations: 4.381 MB / 4.157 GB, free: 308.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00361/8.303, allocations: 1.93 MB / 4.159 GB, free: 308.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/8.303, allocations: 0.9375 kB / 4.159 GB, free: 308.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/8.304, allocations: 0.6873 MB / 4.159 GB, free: 308.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/8.308, allocations: 0.7942 MB / 4.16 GB, free: 308.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/8.325, allocations: 10.21 MB / 4.17 GB, free: 304.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/8.326, allocations: 1.486 MB / 4.172 GB, free: 304.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002855/8.329, allocations: 0.693 MB / 4.172 GB, free: 304.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/8.33, allocations: 477.9 kB / 4.173 GB, free: 304.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/8.33, allocations: 3.172 kB / 4.173 GB, free: 304.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09562/8.426, allocations: 59.18 MB / 4.23 GB, free: 302.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/8.426, allocations: 285.1 kB / 4.231 GB, free: 302.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/12.24, allocations: 0 / 4.231 GB, free: 302.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat does not exist to compare? outputFormat=mat