Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,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.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001005/0.001005, allocations: 180.2 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0009312/0.0009312, allocations: 99.56 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.77e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.706, allocations: 413.5 MB / 1.623 GB, free: 5 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.707, allocations: 91.95 kB / 1.623 GB, free: 4.91 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.38/3.087, allocations: 248.6 MB / 1.865 GB, free: 297.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/3.087, allocations: 0 / 1.865 GB, free: 297.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001324/3.087, allocations: 35.98 kB / 1.865 GB, free: 297.8 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002611/3.09, allocations: 1.197 MB / 1.867 GB, free: 296.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/3.09, allocations: 12.03 kB / 1.867 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/3.091, allocations: 142.5 kB / 1.867 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/3.106, allocations: 7.779 MB / 1.874 GB, free: 288.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/3.107, allocations: 58 kB / 1.874 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/3.107, allocations: 83.94 kB / 1.874 GB, free: 288.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/3.108, allocations: 0.9514 MB / 1.875 GB, free: 287.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/3.108, allocations: 7.938 kB / 1.875 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/3.108, allocations: 35.98 kB / 1.875 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/3.108, allocations: 24 kB / 1.875 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/3.109, allocations: 0.6792 MB / 1.876 GB, free: 286.6 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.004583/3.114, allocations: 4.546 MB / 1.881 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/3.114, allocations: 385.2 kB / 1.881 GB, free: 281.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/3.115, allocations: 261.3 kB / 1.881 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/3.115, allocations: 433.8 kB / 1.882 GB, free: 280.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/3.115, allocations: 42.89 kB / 1.882 GB, free: 280.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/3.115, allocations: 0 / 1.882 GB, free: 280.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001001/3.116, allocations: 0.5342 MB / 1.882 GB, free: 280 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/3.116, allocations: 59.34 kB / 1.882 GB, free: 279.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/3.117, allocations: 0.8443 MB / 1.883 GB, free: 279 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/3.117, allocations: 37.7 kB / 1.883 GB, free: 279 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/3.117, allocations: 0.5028 MB / 1.884 GB, free: 278.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/3.117, allocations: 146 kB / 1.884 GB, free: 278.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/3.117, allocations: 15.94 kB / 1.884 GB, free: 278.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/3.117, allocations: 334 kB / 1.884 GB, free: 278 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/3.118, allocations: 209 kB / 1.884 GB, free: 277.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/3.118, allocations: 441 kB / 1.885 GB, free: 277.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/3.118, allocations: 317.3 kB / 1.885 GB, free: 277 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/3.118, allocations: 0 / 1.885 GB, free: 277 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009374/3.119, allocations: 0.7751 MB / 1.886 GB, free: 276.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004986/3.12, allocations: 2.186 MB / 1.888 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/3.12, allocations: 8 kB / 1.888 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/3.12, allocations: 64.81 kB / 1.888 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/3.12, allocations: 115.8 kB / 1.888 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003737/3.121, allocations: 0.6226 MB / 1.889 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/3.122, allocations: 111.2 kB / 1.889 GB, free: 272.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/3.122, allocations: 35.98 kB / 1.889 GB, free: 272.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/3.122, allocations: 4 kB / 1.889 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008402/3.123, allocations: 0.6638 MB / 1.889 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/3.123, allocations: 8 kB / 1.889 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/3.123, allocations: 60.81 kB / 1.89 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/3.123, allocations: 111.8 kB / 1.89 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/3.124, allocations: 1.662 MB / 1.891 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/3.125, allocations: 87.59 kB / 1.891 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/3.125, allocations: 43.98 kB / 1.891 GB, free: 270.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/3.125, allocations: 140.8 kB / 1.892 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/3.126, allocations: 86.97 kB / 1.892 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/3.127, allocations: 0.6362 MB / 1.892 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/3.127, allocations: 7.984 kB / 1.892 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/3.127, allocations: 4 kB / 1.892 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000645/3.127, allocations: 0.8088 MB / 1.893 GB, free: 268.3 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 postOpt removeSimpleEquations (simulation): time 0.002547/3.13, allocations: 1.668 MB / 1.895 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/3.13, allocations: 0 / 1.895 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/3.13, allocations: 83.94 kB / 1.895 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/3.13, allocations: 44.69 kB / 1.895 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/3.13, allocations: 19.98 kB / 1.895 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003376/3.131, allocations: 0.5641 MB / 1.895 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/3.131, allocations: 7.969 kB / 1.895 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/3.132, allocations: 0.9871 MB / 1.896 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/3.133, allocations: 267.7 kB / 1.897 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/3.133, allocations: 12 kB / 1.897 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/3.133, allocations: 63.94 kB / 1.897 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/3.133, allocations: 27.95 kB / 1.897 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/3.133, allocations: 23.98 kB / 1.897 GB, free: 264.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007648/3.134, allocations: 0.6552 MB / 1.897 GB, free: 263.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/3.134, allocations: 0 / 1.897 GB, free: 263.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002149/3.136, allocations: 0.6001 MB / 1.898 GB, free: 263.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000865/3.137, allocations: 403.8 kB / 1.898 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001466/3.139, allocations: 1.01 MB / 1.899 GB, free: 261.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/3.139, allocations: 0 / 1.899 GB, free: 261.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/3.139, allocations: 240.1 kB / 1.9 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/3.141, allocations: 0.5599 MB / 1.9 GB, free: 260.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/3.144, allocations: 1.642 MB / 1.902 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/3.144, allocations: 1.245 MB / 1.903 GB, free: 257.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001559/3.146, allocations: 0.6938 MB / 1.904 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/3.146, allocations: 63.42 kB / 1.904 GB, free: 257.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/3.146, allocations: 0 / 1.904 GB, free: 257.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03365/3.18, allocations: 22.42 MB / 1.926 GB, free: 234.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches