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.577/2.577, allocations: 393.5 MB / 408.4 MB, free: 11 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.00153/0.00153, allocations: 187.7 kB / 0.4901 GB, free: 2.219 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.939/1.939, allocations: 223.1 MB / 0.7992 GB, free: 14.55 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.00133/0.00133, allocations: 95.14 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005029, allocations: 10.47 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3971, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.209/6.606, allocations: 2.167 GB / 3.397 GB, free: 222 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/6.606, allocations: 100.9 kB / 3.397 GB, free: 221.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.177/9.784, allocations: 0.7213 GB / 4.118 GB, free: 300.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.954e-06/9.784, allocations: 0 / 4.118 GB, free: 300.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002953/9.784, allocations: 43.95 kB / 4.118 GB, free: 300.8 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.006571/9.791, allocations: 1.822 MB / 4.12 GB, free: 300.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/9.791, allocations: 11.38 kB / 4.12 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007212/9.792, allocations: 170.9 kB / 4.12 GB, free: 300 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/9.796, allocations: 497.3 kB / 4.121 GB, free: 300 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/9.801, allocations: 1.358 MB / 4.122 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/9.802, allocations: 87.72 kB / 4.122 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006186/9.802, allocations: 114.6 kB / 4.122 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/9.806, allocations: 1.304 MB / 4.123 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/9.806, allocations: 0 / 4.123 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/9.806, allocations: 50.66 kB / 4.123 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/9.806, allocations: 45.86 kB / 4.123 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/9.809, allocations: 1.246 MB / 4.125 GB, free: 299.6 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.009096/9.818, allocations: 5.042 MB / 4.13 GB, free: 297.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/9.82, allocations: 0.9542 MB / 4.131 GB, free: 297.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/9.82, allocations: 199.8 kB / 4.131 GB, free: 297.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/9.82, allocations: 41.72 kB / 4.131 GB, free: 297.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.306e-06/9.82, allocations: 2.969 kB / 4.131 GB, free: 297.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.006762/9.827, allocations: 3.114 MB / 4.134 GB, free: 296.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/9.827, allocations: 60.34 kB / 4.134 GB, free: 296.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/9.829, allocations: 0.923 MB / 4.135 GB, free: 296.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/9.829, allocations: 47.64 kB / 4.135 GB, free: 296.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/9.83, allocations: 0.5473 MB / 4.135 GB, free: 296.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/9.83, allocations: 300.6 kB / 4.136 GB, free: 296.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/9.83, allocations: 19.52 kB / 4.136 GB, free: 296.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001138/9.83, allocations: 343.2 kB / 4.136 GB, free: 295.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/9.831, allocations: 455.5 kB / 4.136 GB, free: 295.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/9.832, allocations: 0.6101 MB / 4.137 GB, free: 295.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000874/9.833, allocations: 0.5576 MB / 4.138 GB, free: 295.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/9.833, allocations: 3.906 kB / 4.138 GB, free: 295.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002354/9.835, allocations: 1.266 MB / 4.139 GB, free: 295.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002431/9.835, allocations: 0.7957 MB / 4.14 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/9.835, allocations: 0 / 4.14 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/9.836, allocations: 67.64 kB / 4.14 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/9.837, allocations: 193 kB / 4.14 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/9.839, allocations: 3.007 MB / 4.143 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/9.841, allocations: 161.5 kB / 4.143 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/9.841, allocations: 26.91 kB / 4.143 GB, free: 292.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/9.841, allocations: 5.281 kB / 4.143 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00168/9.842, allocations: 1.141 MB / 4.144 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/9.842, allocations: 3.375 kB / 4.144 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/9.843, allocations: 71.86 kB / 4.144 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/9.843, allocations: 174.7 kB / 4.144 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/9.845, allocations: 1.831 MB / 4.146 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/9.847, allocations: 156.8 kB / 4.146 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/9.847, allocations: 34.55 kB / 4.146 GB, free: 290.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 () * 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.001082/9.848, allocations: 0.6175 MB / 4.147 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/9.848, allocations: 120.5 kB / 4.147 GB, free: 290.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/9.85, allocations: 1.249 MB / 4.148 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/9.85, allocations: 10.91 kB / 4.148 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/9.85, allocations: 0 / 4.148 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/9.852, allocations: 1.304 MB / 4.149 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/9.857, allocations: 2.899 MB / 4.152 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/9.857, allocations: 3.312 kB / 4.152 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/9.858, allocations: 239.8 kB / 4.153 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/9.858, allocations: 77.55 kB / 4.153 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/9.859, allocations: 22.41 kB / 4.153 GB, free: 289.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/9.861, allocations: 3 MB / 4.156 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/9.861, allocations: 5.906 kB / 4.156 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/9.863, allocations: 2.029 MB / 4.158 GB, free: 286.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/9.864, allocations: 338.5 kB / 4.158 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/9.865, allocations: 21.86 kB / 4.158 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/9.866, allocations: 115 kB / 4.158 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/9.866, allocations: 60.97 kB / 4.158 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/9.866, allocations: 31.73 kB / 4.158 GB, free: 286.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001271/9.868, allocations: 0.7408 MB / 4.159 GB, free: 286.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.868, allocations: 0 / 4.159 GB, free: 286.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00345/9.871, allocations: 0.802 MB / 4.16 GB, free: 286.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.005635/9.877, allocations: 4.353 MB / 4.164 GB, free: 284.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003354/9.88, allocations: 1.928 MB / 4.166 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/9.88, allocations: 0 / 4.166 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009424/9.881, allocations: 0.6988 MB / 4.166 GB, free: 284.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/9.885, allocations: 0.7845 MB / 4.167 GB, free: 284.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/9.902, allocations: 10.22 MB / 4.177 GB, free: 280.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/9.903, allocations: 1.482 MB / 4.179 GB, free: 280 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002291/9.906, allocations: 0.6925 MB / 4.179 GB, free: 280 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/9.907, allocations: 482 kB / 4.18 GB, free: 280 MB / 1.167 GB Notification: Performance of SimCode: time 2.404e-06/9.907, allocations: 0 / 4.18 GB, free: 280 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/10.01, allocations: 59.2 MB / 4.238 GB, free: 268 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/10.01, allocations: 285.8 kB / 4.238 GB, free: 267.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.139/14.15, allocations: 3.938 kB / 4.238 GB, free: 267.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