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: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.351/2.351, allocations: 390.5 MB / 398 MB, free: 10.98 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.001173/0.001173, allocations: 180.8 kB / 491.2 MB, free: 1.562 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.745/1.745, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009862/0.0009862, allocations: 95.56 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.933e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3549, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.806, allocations: 2.167 GB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/6.807, allocations: 96.78 kB / 3.379 GB, free: 120.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.338/10.14, allocations: 0.7131 GB / 4.092 GB, free: 277.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.233e-06/10.14, allocations: 0 / 4.092 GB, free: 277.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002567/10.14, allocations: 41.06 kB / 4.092 GB, free: 277.2 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.005959/10.15, allocations: 1.563 MB / 4.094 GB, free: 276.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/10.15, allocations: 10.91 kB / 4.094 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/10.15, allocations: 497.4 kB / 4.094 GB, free: 276 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/10.16, allocations: 1.361 MB / 4.096 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/10.16, allocations: 33.31 kB / 4.096 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/10.16, allocations: 70.44 kB / 4.096 GB, free: 275.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002989/10.16, allocations: 1.183 MB / 4.097 GB, free: 274.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/10.17, allocations: 1.139 MB / 4.098 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/10.17, allocations: 3.781 kB / 4.098 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/10.17, allocations: 2.938 kB / 4.098 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/10.17, allocations: 38.59 kB / 4.098 GB, free: 274.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.009131/10.18, allocations: 4.8 MB / 4.103 GB, free: 270.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/10.18, allocations: 0.9067 MB / 4.104 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/10.18, allocations: 0.5622 MB / 4.104 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/10.18, allocations: 210.3 kB / 4.104 GB, free: 269.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/10.18, allocations: 43.12 kB / 4.104 GB, free: 269.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 4.759e-06/10.18, allocations: 0 / 4.104 GB, free: 269.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.006105/10.18, allocations: 2.556 MB / 4.107 GB, free: 267.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/10.18, allocations: 63.41 kB / 4.107 GB, free: 267.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/10.19, allocations: 0.7755 MB / 4.108 GB, free: 267.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/10.19, allocations: 25.7 kB / 4.108 GB, free: 267.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/10.19, allocations: 0.5441 MB / 4.108 GB, free: 266.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003504/10.19, allocations: 287.3 kB / 4.109 GB, free: 266.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/10.19, allocations: 0 / 4.109 GB, free: 266.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001452/10.19, allocations: 341.3 kB / 4.109 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/10.19, allocations: 433.1 kB / 4.109 GB, free: 266.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/10.19, allocations: 0.5907 MB / 4.11 GB, free: 265.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/10.19, allocations: 0.5332 MB / 4.11 GB, free: 265.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/10.19, allocations: 0 / 4.11 GB, free: 265.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001924/10.19, allocations: 1.181 MB / 4.112 GB, free: 264.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/10.19, allocations: 0.7957 MB / 4.112 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/10.19, allocations: 6.062 kB / 4.112 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/10.19, allocations: 69.12 kB / 4.112 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/10.19, allocations: 192.4 kB / 4.113 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/10.19, allocations: 2.926 MB / 4.115 GB, free: 261.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/10.2, allocations: 141.9 kB / 4.116 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/10.2, allocations: 29.84 kB / 4.116 GB, free: 261.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/10.2, allocations: 4.594 kB / 4.116 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/10.2, allocations: 1.053 MB / 4.117 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/10.2, allocations: 3.984 kB / 4.117 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/10.2, allocations: 65.67 kB / 4.117 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/10.2, allocations: 177.1 kB / 4.117 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/10.2, allocations: 1.749 MB / 4.119 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/10.2, allocations: 130.5 kB / 4.119 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/10.2, allocations: 31.8 kB / 4.119 GB, free: 258.9 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.0003562/10.2, allocations: 130.7 kB / 4.119 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/10.2, allocations: 107.8 kB / 4.119 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/10.21, allocations: 1.155 MB / 4.12 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/10.21, allocations: 11.95 kB / 4.12 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/10.21, allocations: 2.906 kB / 4.12 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/10.21, allocations: 1.224 MB / 4.121 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/10.21, allocations: 2.682 MB / 4.124 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/10.21, allocations: 4 kB / 4.124 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/10.21, allocations: 235.5 kB / 4.124 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/10.21, allocations: 72.03 kB / 4.124 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/10.21, allocations: 19.38 kB / 4.124 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/10.22, allocations: 2.925 MB / 4.127 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/10.22, allocations: 8.016 kB / 4.127 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/10.22, allocations: 1.916 MB / 4.129 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/10.22, allocations: 327.7 kB / 4.129 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/10.22, allocations: 7.984 kB / 4.129 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/10.22, allocations: 101.8 kB / 4.129 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/10.22, allocations: 59.64 kB / 4.129 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/10.22, allocations: 31.95 kB / 4.129 GB, free: 247.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001236/10.22, allocations: 0.613 MB / 4.13 GB, free: 247.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/10.22, allocations: 0 / 4.13 GB, free: 247.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004026/10.23, allocations: 0.7382 MB / 4.131 GB, free: 246.6 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.003419/10.23, allocations: 1.514 MB / 4.132 GB, free: 245.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003507/10.24, allocations: 1.862 MB / 4.134 GB, free: 243.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/10.24, allocations: 0 / 4.134 GB, free: 243.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/10.24, allocations: 0.6564 MB / 4.135 GB, free: 242.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/10.24, allocations: 0.7445 MB / 4.135 GB, free: 242.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/10.25, allocations: 2.657 MB / 4.138 GB, free: 239.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/10.25, allocations: 1.485 MB / 4.14 GB, free: 238.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003361/10.25, allocations: 1.014 MB / 4.14 GB, free: 237.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/10.25, allocations: 75.42 kB / 4.141 GB, free: 237.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.206e-06/10.25, allocations: 4 kB / 4.141 GB, free: 237.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05788/10.31, allocations: 33.33 MB / 4.173 GB, free: 204.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches