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.325/2.325, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001132/0.001132, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.794/1.794, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008992, allocations: 93.58 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.269e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3398, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.317/6.657, allocations: 2.166 GB / 3.372 GB, free: 158.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/6.658, allocations: 97.94 kB / 3.372 GB, free: 158.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.937/9.594, allocations: 0.7131 GB / 4.085 GB, free: 285.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/9.594, allocations: 0 / 4.085 GB, free: 285.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001316/9.594, allocations: 45.38 kB / 4.085 GB, free: 285.3 MB / 1.151 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.003524/9.598, allocations: 1.568 MB / 4.087 GB, free: 284.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/9.598, allocations: 10.56 kB / 4.087 GB, free: 284.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/9.601, allocations: 0.4888 MB / 4.087 GB, free: 284.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/9.604, allocations: 1.353 MB / 4.089 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/9.604, allocations: 32.09 kB / 4.089 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/9.604, allocations: 74.78 kB / 4.089 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/9.606, allocations: 1.186 MB / 4.09 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/9.608, allocations: 1.138 MB / 4.091 GB, free: 284.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/9.608, allocations: 3.469 kB / 4.091 GB, free: 284.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/9.608, allocations: 0 / 4.091 GB, free: 284.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/9.608, allocations: 39.77 kB / 4.091 GB, free: 284.1 MB / 1.151 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.006622/9.615, allocations: 4.813 MB / 4.096 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/9.616, allocations: 0.9072 MB / 4.097 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/9.617, allocations: 0.5619 MB / 4.097 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/9.617, allocations: 204.9 kB / 4.097 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/9.617, allocations: 44.81 kB / 4.097 GB, free: 281.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 3.136e-06/9.617, allocations: 0 / 4.097 GB, free: 281.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.004951/9.622, allocations: 2.556 MB / 4.1 GB, free: 281.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/9.622, allocations: 62.88 kB / 4.1 GB, free: 281.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/9.623, allocations: 0.774 MB / 4.101 GB, free: 281.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/9.623, allocations: 25.7 kB / 4.101 GB, free: 281 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/9.624, allocations: 0.5444 MB / 4.101 GB, free: 280.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/9.624, allocations: 288.8 kB / 4.101 GB, free: 280.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/9.624, allocations: 0 / 4.101 GB, free: 280.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/9.624, allocations: 341.5 kB / 4.102 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/9.625, allocations: 436.6 kB / 4.102 GB, free: 280.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/9.625, allocations: 0.5774 MB / 4.103 GB, free: 280.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/9.626, allocations: 0.5405 MB / 4.103 GB, free: 280.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/9.626, allocations: 0 / 4.103 GB, free: 280.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001576/9.627, allocations: 1.181 MB / 4.104 GB, free: 280 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/9.628, allocations: 0.789 MB / 4.105 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/9.628, allocations: 3.531 kB / 4.105 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/9.628, allocations: 68.73 kB / 4.105 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/9.629, allocations: 201.2 kB / 4.106 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/9.631, allocations: 2.938 MB / 4.108 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/9.632, allocations: 126.2 kB / 4.109 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/9.632, allocations: 33.03 kB / 4.109 GB, free: 276.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/9.632, allocations: 2.5 kB / 4.109 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001342/9.634, allocations: 1.043 MB / 4.11 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/9.634, allocations: 6.906 kB / 4.11 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/9.634, allocations: 69.66 kB / 4.11 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/9.635, allocations: 170.8 kB / 4.11 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/9.636, allocations: 1.75 MB / 4.112 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/9.637, allocations: 140.2 kB / 4.112 GB, free: 274.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/9.637, allocations: 30.47 kB / 4.112 GB, free: 274.7 MB / 1.151 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.0002336/9.638, allocations: 117.9 kB / 4.112 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001418/9.639, allocations: 1.08 MB / 4.113 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/9.639, allocations: 108.4 kB / 4.113 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/9.641, allocations: 1.16 MB / 4.114 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/9.641, allocations: 7.75 kB / 4.114 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/9.641, allocations: 0 / 4.114 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/9.642, allocations: 1.235 MB / 4.115 GB, free: 273.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/9.646, allocations: 2.677 MB / 4.118 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/9.646, allocations: 3.062 kB / 4.118 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/9.647, allocations: 250.2 kB / 4.118 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/9.647, allocations: 66.2 kB / 4.118 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/9.647, allocations: 18.89 kB / 4.118 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/9.649, allocations: 2.914 MB / 4.121 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/9.649, allocations: 0 / 4.121 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/9.651, allocations: 1.919 MB / 4.123 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/9.652, allocations: 327.5 kB / 4.123 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/9.652, allocations: 14.39 kB / 4.123 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/9.653, allocations: 111.4 kB / 4.123 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/9.653, allocations: 55.94 kB / 4.123 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/9.653, allocations: 33.44 kB / 4.123 GB, free: 268.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007154/9.654, allocations: 0.6122 MB / 4.124 GB, free: 268 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.654, allocations: 0 / 4.124 GB, free: 268 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002203/9.656, allocations: 0.7337 MB / 4.125 GB, free: 268 MB / 1.151 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.004023/9.66, allocations: 4.433 MB / 4.129 GB, free: 265.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002635/9.663, allocations: 1.86 MB / 4.131 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/9.663, allocations: 3.375 kB / 4.131 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/9.664, allocations: 0.6611 MB / 4.132 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/9.667, allocations: 0.74 MB / 4.132 GB, free: 264.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/9.672, allocations: 3.061 MB / 4.135 GB, free: 263.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/9.673, allocations: 1.487 MB / 4.137 GB, free: 262.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002532/9.676, allocations: 1.027 MB / 4.138 GB, free: 262.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/9.676, allocations: 454.5 kB / 4.138 GB, free: 262.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.22e-07/9.676, allocations: 0 / 4.138 GB, free: 262.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07702/9.753, allocations: 47.07 MB / 4.184 GB, free: 222.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/9.754, allocations: 203.5 kB / 4.184 GB, free: 222.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.317/13.07, allocations: 7.312 kB / 4.184 GB, free: 222.4 MB / 1.151 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