Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6438, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02073/0.6646, allocations: 22.02 MB / 1.042 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00864/0.6733, allocations: 6.151 MB / 1.048 GB, free: 4.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008951/0.6742, allocations: 27.81 kB / 1.048 GB, free: 4.828 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.6753, allocations: 402 kB / 1.049 GB, free: 4.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.6784, allocations: 1.169 MB / 1.05 GB, free: 3.262 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.6811, allocations: 1.077 MB / 1.051 GB, free: 2.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.6831, allocations: 1.242 MB / 1.052 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.6837, allocations: 461.4 kB / 1.053 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.6845, allocations: 0.5216 MB / 1.053 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.6849, allocations: 346.3 kB / 1.053 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.685, allocations: 23.94 kB / 1.053 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.6861, allocations: 495.3 kB / 1.054 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.6863, allocations: 119.5 kB / 1.054 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.6864, allocations: 157.4 kB / 1.054 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008741/0.6873, allocations: 0.8241 MB / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6873, allocations: 0 / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6873, allocations: 0 / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.6873, allocations: 0 / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001255/0.6886, allocations: 0.9032 MB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6887, allocations: 15.98 kB / 1.056 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.6889, allocations: 90.98 kB / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.6899, allocations: 0.643 MB / 1.057 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.69, allocations: 40.94 kB / 1.057 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.6901, allocations: 47.91 kB / 1.057 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.6908, allocations: 0.4922 MB / 1.057 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6908, allocations: 8 kB / 1.057 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.6909, allocations: 23.98 kB / 1.057 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.6909, allocations: 12 kB / 1.057 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.6914, allocations: 315.7 kB / 1.058 GB, free: 11.32 MB / 0.8106 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.002649/0.694, allocations: 2.772 MB / 1.06 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.6944, allocations: 187.1 kB / 1.06 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.6947, allocations: 344.6 kB / 1.061 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6947, allocations: 38.69 kB / 1.061 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.6948, allocations: 0 / 1.061 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005316/0.6953, allocations: 306.3 kB / 1.061 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.6953, allocations: 51.41 kB / 1.061 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.6959, allocations: 0.5459 MB / 1.062 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.696, allocations: 33.69 kB / 1.062 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.6962, allocations: 347.5 kB / 1.062 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.6963, allocations: 82.84 kB / 1.062 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.6963, allocations: 4 kB / 1.062 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6964, allocations: 366.7 kB / 1.062 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.6966, allocations: 87.91 kB / 1.063 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.6968, allocations: 233.8 kB / 1.063 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.697, allocations: 127.9 kB / 1.063 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.697, allocations: 0 / 1.063 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005244/0.6975, allocations: 387.9 kB / 1.063 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005404/0.6981, allocations: 1.663 MB / 1.065 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.6981, allocations: 8 kB / 1.065 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6981, allocations: 8 kB / 1.065 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.6984, allocations: 75.91 kB / 1.065 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.6984, allocations: 11.89 kB / 1.065 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.6989, allocations: 63.5 kB / 1.065 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.6989, allocations: 20 kB / 1.065 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.6989, allocations: 4 kB / 1.065 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004313/0.6993, allocations: 315.1 kB / 1.065 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6994, allocations: 4 kB / 1.065 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.6994, allocations: 8 kB / 1.065 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6996, allocations: 75.91 kB / 1.065 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6996, allocations: 7.938 kB / 1.065 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.7, allocations: 55.78 kB / 1.065 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.7, allocations: 19.94 kB / 1.065 GB, free: 2.559 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.7003, allocations: 281 kB / 1.066 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.7003, allocations: 51.34 kB / 1.066 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.7008, allocations: 286.4 kB / 1.066 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7008, allocations: 7.984 kB / 1.066 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7008, allocations: 4 kB / 1.066 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003208/0.7012, allocations: 378.4 kB / 1.066 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.7026, allocations: 1.066 MB / 1.067 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7026, allocations: 4 kB / 1.068 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.7028, allocations: 51.91 kB / 1.068 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7028, allocations: 4 kB / 1.068 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.7029, allocations: 8 kB / 1.068 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.7029, allocations: 4 kB / 1.068 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7029, allocations: 11.94 kB / 1.068 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.7036, allocations: 0.6156 MB / 1.068 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.7039, allocations: 200.2 kB / 1.068 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.7039, allocations: 11.98 kB / 1.068 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.7043, allocations: 23.92 kB / 1.068 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.7044, allocations: 27.91 kB / 1.068 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.7044, allocations: 19.98 kB / 1.068 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004871/0.7049, allocations: 427 kB / 1.069 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7049, allocations: 0 / 1.069 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001043/0.7059, allocations: 355.3 kB / 1.069 GB, free: 14.48 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005708/0.7065, allocations: 301.6 kB / 1.069 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.7071, allocations: 393.5 kB / 1.07 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7071, allocations: 8.125 kB / 1.07 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.7073, allocations: 109.9 kB / 1.07 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.7089, allocations: 363.1 kB / 1.07 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.7107, allocations: 1.366 MB / 1.072 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.7111, allocations: 0.9139 MB / 1.073 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005317/0.7117, allocations: 161 kB / 1.073 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.7118, allocations: 59.36 kB / 1.073 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.7118, allocations: 0 / 1.073 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.02068/0.7325, allocations: 12.44 MB / 1.085 GB, free: 14.49 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches