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.446/2.446, allocations: 390.5 MB / 398 MB, free: 10.96 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.001332/0.001333, allocations: 171.9 kB / 491.2 MB, free: 1.594 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.613/1.613, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.0009651/0.0009651, allocations: 103.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.744e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.696, allocations: 412.8 MB / 1.615 GB, free: 2.133 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.696, allocations: 90.77 kB / 1.616 GB, free: 2.086 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.44/3.137, allocations: 247.2 MB / 1.857 GB, free: 352.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.522e-06/3.137, allocations: 3.938 kB / 1.857 GB, free: 352.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001104/3.137, allocations: 35.84 kB / 1.857 GB, free: 352.5 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.002172/3.139, allocations: 1.201 MB / 1.858 GB, free: 351.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/3.139, allocations: 8.031 kB / 1.858 GB, free: 351.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/3.139, allocations: 134.5 kB / 1.858 GB, free: 351.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/3.154, allocations: 7.755 MB / 1.866 GB, free: 343.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/3.154, allocations: 24 kB / 1.866 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/3.154, allocations: 47.95 kB / 1.866 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009849/3.155, allocations: 0.6364 MB / 1.867 GB, free: 342.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/3.157, allocations: 0.8498 MB / 1.867 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/3.157, allocations: 0 / 1.867 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/3.157, allocations: 7.938 kB / 1.867 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/3.157, allocations: 31.92 kB / 1.867 GB, free: 341.7 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.004182/3.161, allocations: 4.385 MB / 1.872 GB, free: 337 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/3.161, allocations: 378.4 kB / 1.872 GB, free: 336.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/3.162, allocations: 249.3 kB / 1.872 GB, free: 336.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/3.162, allocations: 429.7 kB / 1.873 GB, free: 335.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/3.162, allocations: 38.89 kB / 1.873 GB, free: 335.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/3.162, allocations: 0 / 1.873 GB, free: 335.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001123/3.163, allocations: 0.5466 MB / 1.873 GB, free: 335.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/3.163, allocations: 59.41 kB / 1.873 GB, free: 335.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/3.164, allocations: 0.774 MB / 1.874 GB, free: 334.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/3.164, allocations: 29.7 kB / 1.874 GB, free: 334.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/3.164, allocations: 0.5066 MB / 1.875 GB, free: 333.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/3.164, allocations: 138 kB / 1.875 GB, free: 333.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/3.164, allocations: 0 / 1.875 GB, free: 333.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/3.165, allocations: 337.9 kB / 1.875 GB, free: 333.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/3.165, allocations: 205 kB / 1.875 GB, free: 333.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/3.165, allocations: 427.8 kB / 1.876 GB, free: 332.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/3.165, allocations: 309.2 kB / 1.876 GB, free: 332.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/3.165, allocations: 0 / 1.876 GB, free: 332.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00106/3.167, allocations: 0.7276 MB / 1.877 GB, free: 331.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004709/3.167, allocations: 2.183 MB / 1.879 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/3.167, allocations: 4 kB / 1.879 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/3.167, allocations: 64.78 kB / 1.879 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/3.168, allocations: 115.8 kB / 1.879 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003748/3.168, allocations: 0.6342 MB / 1.88 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/3.169, allocations: 91.38 kB / 1.88 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/3.169, allocations: 31.98 kB / 1.88 GB, free: 328.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/3.169, allocations: 8 kB / 1.88 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008831/3.17, allocations: 0.6083 MB / 1.88 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/3.17, allocations: 4 kB / 1.88 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/3.17, allocations: 60.89 kB / 1.88 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/3.17, allocations: 111.8 kB / 1.88 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/3.172, allocations: 1.59 MB / 1.882 GB, free: 325.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/3.172, allocations: 91.48 kB / 1.882 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/3.172, allocations: 31.98 kB / 1.882 GB, free: 325.7 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.0001835/3.173, allocations: 128.7 kB / 1.882 GB, free: 325.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/3.173, allocations: 90.88 kB / 1.882 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/3.174, allocations: 0.6032 MB / 1.883 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/3.174, allocations: 4 kB / 1.883 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/3.174, allocations: 0 / 1.883 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006625/3.174, allocations: 0.7812 MB / 1.884 GB, free: 324 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.002091/3.177, allocations: 1.542 MB / 1.885 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/3.177, allocations: 0 / 1.885 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/3.177, allocations: 83.89 kB / 1.885 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/3.177, allocations: 28.84 kB / 1.885 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/3.177, allocations: 7.984 kB / 1.885 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002543/3.177, allocations: 0.572 MB / 1.886 GB, free: 321.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.177, allocations: 3.938 kB / 1.886 GB, free: 321.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/3.179, allocations: 0.9478 MB / 1.887 GB, free: 320.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/3.179, allocations: 260 kB / 1.887 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/3.18, allocations: 11.98 kB / 1.887 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/3.181, allocations: 63.83 kB / 1.887 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/3.181, allocations: 23.95 kB / 1.887 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/3.181, allocations: 27.97 kB / 1.887 GB, free: 320.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001043/3.182, allocations: 0.6044 MB / 1.888 GB, free: 319.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.41e-07/3.182, allocations: 0 / 1.888 GB, free: 319.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002921/3.185, allocations: 0.5689 MB / 1.888 GB, free: 319.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.001009/3.186, allocations: 399.9 kB / 1.889 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001811/3.188, allocations: 0.9451 MB / 1.89 GB, free: 317.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/3.188, allocations: 0 / 1.89 GB, free: 317.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/3.188, allocations: 231.8 kB / 1.89 GB, free: 317.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/3.191, allocations: 0.5283 MB / 1.89 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/3.195, allocations: 1.613 MB / 1.892 GB, free: 315.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/3.196, allocations: 1.252 MB / 1.893 GB, free: 314.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002487/3.198, allocations: 0.6741 MB / 1.894 GB, free: 313.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/3.198, allocations: 67.36 kB / 1.894 GB, free: 313.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/3.198, allocations: 0 / 1.894 GB, free: 313.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04575/3.244, allocations: 19.68 MB / 1.913 GB, free: 293.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