Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 179.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/0.748, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.03125/0.7793, allocations: 30.87 MB / 1.054 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.7895, allocations: 5.333 MB / 1.059 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.7915, allocations: 35.75 kB / 1.059 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.7929, allocations: 318.2 kB / 1.059 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.7975, allocations: 1.322 MB / 1.061 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.8, allocations: 0.7611 MB / 1.061 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.8038, allocations: 2.854 MB / 1.064 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.8048, allocations: 0.504 MB / 1.065 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.8065, allocations: 0.6571 MB / 1.065 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.8076, allocations: 0.5326 MB / 1.066 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.8078, allocations: 24 kB / 1.066 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.8105, allocations: 1.142 MB / 1.067 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.8108, allocations: 139.4 kB / 1.067 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.8115, allocations: 367.8 kB / 1.067 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.8136, allocations: 1.091 MB / 1.069 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8136, allocations: 0 / 1.069 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8136, allocations: 0 / 1.069 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.8137, allocations: 0 / 1.069 GB, free: 1.75 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.002055/0.8157, allocations: 0.9619 MB / 1.069 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.8158, allocations: 11.98 kB / 1.069 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.8183, allocations: 283.7 kB / 1.07 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.8199, allocations: 0.6751 MB / 1.07 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.82, allocations: 32.94 kB / 1.07 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8201, allocations: 51.94 kB / 1.07 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.8211, allocations: 0.5243 MB / 1.071 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.8211, allocations: 0 / 1.071 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.8212, allocations: 20 kB / 1.071 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.8212, allocations: 15.94 kB / 1.071 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.822, allocations: 359.7 kB / 1.071 GB, free: 14.7 MB / 0.8262 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.003362/0.8254, allocations: 2.826 MB / 1.074 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.826, allocations: 301.9 kB / 1.074 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.8262, allocations: 150.1 kB / 1.075 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.8267, allocations: 0.6495 MB / 1.075 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8268, allocations: 43.25 kB / 1.075 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.8268, allocations: 0 / 1.075 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.00675/0.8335, allocations: 2.1 MB / 1.077 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.8336, allocations: 81.11 kB / 1.077 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.8344, allocations: 0.5184 MB / 1.078 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.8345, allocations: 37.7 kB / 1.078 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.8348, allocations: 324.4 kB / 1.078 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.8349, allocations: 137.9 kB / 1.078 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.835, allocations: 45.7 kB / 1.078 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8351, allocations: 366.8 kB / 1.079 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.8355, allocations: 165 kB / 1.079 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.836, allocations: 295.2 kB / 1.079 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008305/0.8368, allocations: 471.5 kB / 1.08 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8368, allocations: 3.938 kB / 1.08 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001903/0.8387, allocations: 0.7434 MB / 1.08 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.8389, allocations: 188.3 kB / 1.081 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8389, allocations: 4 kB / 1.081 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.84, allocations: 277.5 kB / 1.081 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.8403, allocations: 67.84 kB / 1.081 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.8469, allocations: 4.333 MB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.8481, allocations: 83.81 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.8482, allocations: 16 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8482, allocations: 4 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/0.85, allocations: 0.6608 MB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.8501, allocations: 4 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.8511, allocations: 285.7 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.8513, allocations: 67.84 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006206/0.8576, allocations: 4.338 MB / 1.09 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.8588, allocations: 87.83 kB / 1.091 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.8589, allocations: 23.98 kB / 1.091 GB, free: 9.816 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.8593, allocations: 282 kB / 1.091 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.8595, allocations: 67.23 kB / 1.091 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.8614, allocations: 0.6667 MB / 1.092 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8614, allocations: 4 kB / 1.092 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8614, allocations: 4 kB / 1.092 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/0.863, allocations: 0.7447 MB / 1.092 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.8665, allocations: 1.695 MB / 1.094 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8665, allocations: 0 / 1.094 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.8667, allocations: 51.97 kB / 1.094 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.8677, allocations: 253.5 kB / 1.094 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.8678, allocations: 15.98 kB / 1.094 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.8733, allocations: 3.959 MB / 1.098 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8733, allocations: 0 / 1.098 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.8755, allocations: 0.9303 MB / 1.099 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.8759, allocations: 196.3 kB / 1.099 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.876, allocations: 15.98 kB / 1.099 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.8773, allocations: 75.77 kB / 1.099 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8774, allocations: 31.89 kB / 1.099 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.8775, allocations: 19.98 kB / 1.099 GB, free: 372 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005948/0.8781, allocations: 366.8 kB / 1.1 GB, free: 8 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8781, allocations: 0 / 1.1 GB, free: 8 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001832/0.8799, allocations: 415.9 kB / 1.1 GB, free: 15.6 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[1].h_outflow,vol1.ports[1].h_outflow) * 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 (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008149/0.8807, allocations: 289.6 kB / 1.1 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.884, allocations: 1.367 MB / 1.102 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.884, allocations: 3.938 kB / 1.102 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.8853, allocations: 0.5481 MB / 1.102 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.8873, allocations: 342.2 kB / 1.103 GB, free: 13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.8898, allocations: 1.559 MB / 1.104 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.8903, allocations: 0.9222 MB / 1.105 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.8905, allocations: 55.42 kB / 1.105 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.8905, allocations: 0 / 1.105 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.025/0.9155, allocations: 17.06 MB / 1.122 GB, free: 9.438 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches