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.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001288/0.001288, allocations: 186.6 kB / 0.4902 GB, free: 2.297 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.665/1.665, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001069/0.001069, allocations: 109.5 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 11.09 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.697, allocations: 413.5 MB / 1.633 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/1.697, allocations: 102.9 kB / 1.633 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.481/3.178, allocations: 249.3 MB / 1.877 GB, free: 352 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.613e-06/3.178, allocations: 1.188 kB / 1.877 GB, free: 352 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002421/3.178, allocations: 40.81 kB / 1.877 GB, free: 352 MB / 1.167 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.005446/3.184, allocations: 1.418 MB / 1.878 GB, free: 351.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/3.184, allocations: 13.22 kB / 1.878 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/3.185, allocations: 139.2 kB / 1.878 GB, free: 351.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/3.207, allocations: 7.838 MB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/3.207, allocations: 60.94 kB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004007/3.207, allocations: 82.2 kB / 1.886 GB, free: 350.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/3.21, allocations: 0.9681 MB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/3.21, allocations: 4.625 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/3.21, allocations: 30.53 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/3.21, allocations: 28.59 kB / 1.887 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/3.212, allocations: 0.6967 MB / 1.888 GB, free: 350.7 MB / 1.167 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.008164/3.22, allocations: 4.547 MB / 1.892 GB, free: 348.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/3.221, allocations: 383.7 kB / 1.892 GB, free: 348.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/3.221, allocations: 428.8 kB / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/3.221, allocations: 44.44 kB / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 4.388e-06/3.221, allocations: 0 / 1.893 GB, free: 347.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.00247/3.224, allocations: 0.8371 MB / 1.894 GB, free: 347.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/3.224, allocations: 55.22 kB / 1.894 GB, free: 347.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/3.226, allocations: 0.8474 MB / 1.895 GB, free: 347.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/3.226, allocations: 40.55 kB / 1.895 GB, free: 347.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/3.227, allocations: 0.4982 MB / 1.895 GB, free: 347 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/3.227, allocations: 152.6 kB / 1.895 GB, free: 346.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/3.227, allocations: 11.03 kB / 1.895 GB, free: 346.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001059/3.227, allocations: 336.4 kB / 1.896 GB, free: 346.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/3.227, allocations: 218 kB / 1.896 GB, free: 346.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/3.228, allocations: 438.2 kB / 1.896 GB, free: 346.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/3.229, allocations: 320.1 kB / 1.897 GB, free: 346.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/3.229, allocations: 2.031 kB / 1.897 GB, free: 346.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001719/3.231, allocations: 0.7784 MB / 1.897 GB, free: 346.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006701/3.231, allocations: 2.185 MB / 1.899 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/3.231, allocations: 5.281 kB / 1.899 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/3.232, allocations: 74.42 kB / 1.899 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/3.232, allocations: 111.6 kB / 1.9 GB, free: 344 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/3.233, allocations: 0.6364 MB / 1.9 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/3.234, allocations: 105.6 kB / 1.9 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/3.234, allocations: 34.42 kB / 1.9 GB, free: 343.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/3.234, allocations: 7.188 kB / 1.9 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/3.235, allocations: 0.667 MB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/3.235, allocations: 9.188 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/3.236, allocations: 66.75 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/3.236, allocations: 111.4 kB / 1.901 GB, free: 343.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/3.238, allocations: 1.661 MB / 1.903 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/3.239, allocations: 100.1 kB / 1.903 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/3.239, allocations: 27.12 kB / 1.903 GB, free: 342 MB / 1.167 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 () * Number of clocked 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.001256/3.24, allocations: 0.4897 MB / 1.903 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/3.241, allocations: 87.06 kB / 1.903 GB, free: 341.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/3.243, allocations: 0.6385 MB / 1.904 GB, free: 341.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/3.243, allocations: 13.2 kB / 1.904 GB, free: 341.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/3.243, allocations: 0 / 1.904 GB, free: 341.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/3.244, allocations: 0.8224 MB / 1.905 GB, free: 341.3 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.006243/3.25, allocations: 1.685 MB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/3.25, allocations: 1.125 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/3.251, allocations: 83 kB / 1.907 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/3.251, allocations: 40.2 kB / 1.907 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/3.251, allocations: 11.66 kB / 1.907 GB, free: 340.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005659/3.252, allocations: 0.5712 MB / 1.907 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/3.252, allocations: 1.281 kB / 1.907 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/3.254, allocations: 0.9856 MB / 1.908 GB, free: 340 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/3.256, allocations: 260.7 kB / 1.908 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/3.256, allocations: 7.875 kB / 1.908 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/3.257, allocations: 71.08 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/3.257, allocations: 35.48 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/3.257, allocations: 26.19 kB / 1.909 GB, free: 339.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001363/3.259, allocations: 0.668 MB / 1.909 GB, free: 339.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.259, allocations: 0 / 1.909 GB, free: 339.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00333/3.262, allocations: 0.5907 MB / 1.91 GB, free: 339.7 MB / 1.167 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 () * Number of clocked 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.001252/3.263, allocations: 416.8 kB / 1.91 GB, free: 339.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001981/3.265, allocations: 0.9847 MB / 1.911 GB, free: 339.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/3.265, allocations: 0 / 1.911 GB, free: 339.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/3.266, allocations: 247.4 kB / 1.911 GB, free: 339.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/3.269, allocations: 0.5464 MB / 1.912 GB, free: 339.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/3.273, allocations: 2.424 MB / 1.914 GB, free: 338.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/3.274, allocations: 1.254 MB / 1.916 GB, free: 337.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001623/3.276, allocations: 460.2 kB / 1.916 GB, free: 337.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/3.276, allocations: 81.75 kB / 1.916 GB, free: 337.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.834e-06/3.276, allocations: 0 / 1.916 GB, free: 337.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03726/3.314, allocations: 20.39 MB / 1.936 GB, free: 337 MB / 1.167 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