Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 99.62 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.00156/0.001561, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6168, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.02725/0.6441, allocations: 26.62 MB / 1.047 GB, free: 6.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.6529, allocations: 5.812 MB / 1.052 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007521/0.6537, allocations: 31.75 kB / 1.053 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.6547, allocations: 354.2 kB / 1.053 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.6606, allocations: 2.675 MB / 1.055 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.6634, allocations: 1.111 MB / 1.057 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.6655, allocations: 1.309 MB / 1.058 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.6663, allocations: 469.4 kB / 1.058 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.6696, allocations: 2.008 MB / 1.06 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/0.6703, allocations: 350.3 kB / 1.061 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.6704, allocations: 27.98 kB / 1.061 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004802/0.6752, allocations: 2.68 MB / 1.063 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.6755, allocations: 123.5 kB / 1.063 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.6757, allocations: 173.3 kB / 1.063 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.6775, allocations: 1.095 MB / 1.065 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.6775, allocations: 0 / 1.065 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6776, allocations: 0 / 1.065 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.619e-05/0.6776, allocations: 4 kB / 1.065 GB, free: 4.191 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001682/0.6793, allocations: 1.016 MB / 1.066 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6793, allocations: 11.98 kB / 1.066 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6805, allocations: 155 kB / 1.066 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.6817, allocations: 0.6234 MB / 1.066 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.6818, allocations: 29 kB / 1.066 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.6819, allocations: 48 kB / 1.066 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.6827, allocations: 0.5118 MB / 1.067 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6827, allocations: 3.938 kB / 1.067 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.6828, allocations: 20 kB / 1.067 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.6828, allocations: 15.95 kB / 1.067 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.6834, allocations: 335.7 kB / 1.067 GB, free: 1.309 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.002745/0.6861, allocations: 2.471 MB / 1.07 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.6865, allocations: 272.6 kB / 1.07 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008698/0.6874, allocations: 1.366 MB / 1.071 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6874, allocations: 38.5 kB / 1.071 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.6875, allocations: 0 / 1.071 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43): time 0.004128/0.6916, allocations: 1.786 MB / 1.073 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.6916, allocations: 63.34 kB / 1.073 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.6923, allocations: 0.503 MB / 1.074 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.6923, allocations: 33.7 kB / 1.074 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.6925, allocations: 332.3 kB / 1.074 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.6927, allocations: 149.8 kB / 1.074 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.6927, allocations: 12 kB / 1.074 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6929, allocations: 366.8 kB / 1.074 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6931, allocations: 137.1 kB / 1.075 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.6934, allocations: 270.7 kB / 1.075 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.6937, allocations: 185.8 kB / 1.075 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6937, allocations: 0 / 1.075 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001022/0.6948, allocations: 0.6151 MB / 1.076 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.6952, allocations: 1.138 MB / 1.077 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6952, allocations: 4 kB / 1.077 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000739/0.696, allocations: 193.5 kB / 1.077 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.6962, allocations: 71.83 kB / 1.077 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/0.6972, allocations: 1.339 MB / 1.078 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.6977, allocations: 31.89 kB / 1.078 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.6977, allocations: 20.12 kB / 1.078 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.6978, allocations: 8 kB / 1.078 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008922/0.6987, allocations: 0.5322 MB / 1.079 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6987, allocations: 4.375 kB / 1.079 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.6993, allocations: 193.6 kB / 1.079 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.6995, allocations: 63.91 kB / 1.079 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009162/0.7005, allocations: 1.339 MB / 1.08 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.7009, allocations: 35.86 kB / 1.08 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.701, allocations: 24 kB / 1.08 GB, free: 2.852 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.7013, allocations: 293.1 kB / 1.081 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.7014, allocations: 59.25 kB / 1.081 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.7026, allocations: 0.6381 MB / 1.081 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.7026, allocations: 7.938 kB / 1.081 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7026, allocations: 3.938 kB / 1.081 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008538/0.7035, allocations: 0.6547 MB / 1.082 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.7057, allocations: 1.462 MB / 1.084 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7058, allocations: 0 / 1.084 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.7059, allocations: 43.92 kB / 1.084 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/0.7069, allocations: 213.6 kB / 1.084 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.7069, allocations: 19.98 kB / 1.084 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009789/0.7079, allocations: 1.323 MB / 1.085 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7079, allocations: 7.922 kB / 1.085 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.7092, allocations: 0.8788 MB / 1.086 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.7095, allocations: 208.2 kB / 1.086 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.7096, allocations: 8 kB / 1.086 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.71, allocations: 35.98 kB / 1.086 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7101, allocations: 27.89 kB / 1.086 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.7102, allocations: 23.98 kB / 1.086 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003967/0.7106, allocations: 362.8 kB / 1.087 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7106, allocations: 0 / 1.087 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00127/0.7119, allocations: 455.8 kB / 1.087 GB, free: 11.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009406/0.7128, allocations: 470.8 kB / 1.087 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.7139, allocations: 0.645 MB / 1.088 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7139, allocations: 0 / 1.088 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.7144, allocations: 236.6 kB / 1.088 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.7158, allocations: 309.4 kB / 1.089 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.7179, allocations: 1.508 MB / 1.09 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.7184, allocations: 0.9378 MB / 1.091 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006229/0.719, allocations: 205 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.7192, allocations: 63.34 kB / 1.091 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.7192, allocations: 0 / 1.091 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of Templates: time 0.02669/0.7459, allocations: 16.36 MB / 1.107 GB, free: 7.359 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches