Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_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_latest_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.001036/0.001036, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 11.06 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.249, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.02587/0.2749, allocations: 29.08 MB / 1.086 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007261/0.2822, allocations: 5.013 MB / 1.091 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.2829, allocations: 31.75 kB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.2837, allocations: 286.2 kB / 1.092 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.2863, allocations: 1.131 MB / 1.093 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2879, allocations: 0.6327 MB / 1.093 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.2903, allocations: 2.447 MB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.2909, allocations: 453.3 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.2919, allocations: 0.6378 MB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.2925, allocations: 0.5016 MB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.2926, allocations: 24 kB / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2942, allocations: 0.8654 MB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.2944, allocations: 127.5 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2945, allocations: 169.3 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.2956, allocations: 1.006 MB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2956, allocations: 0 / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2956, allocations: 0 / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.2956, allocations: 0 / 1.099 GB, free: 10.82 MB / 0.8575 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.001236/0.2969, allocations: 0.9618 MB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2969, allocations: 12.03 kB / 1.1 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.2991, allocations: 286.7 kB / 1.101 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3003, allocations: 0.6429 MB / 1.101 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3003, allocations: 36.94 kB / 1.101 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.3004, allocations: 51.91 kB / 1.101 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.3012, allocations: 0.5204 MB / 1.102 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3013, allocations: 0 / 1.102 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.3013, allocations: 20 kB / 1.102 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3013, allocations: 12 kB / 1.102 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.302, allocations: 355.7 kB / 1.102 GB, free: 7.805 MB / 0.8575 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.002634/0.3047, allocations: 2.826 MB / 1.105 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3052, allocations: 298 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.3054, allocations: 154.2 kB / 1.105 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/0.3059, allocations: 0.6612 MB / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3059, allocations: 35.27 kB / 1.106 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.3059, allocations: 0 / 1.106 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.005864/0.3118, allocations: 2.081 MB / 1.108 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3118, allocations: 85.05 kB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.3125, allocations: 0.5145 MB / 1.109 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3125, allocations: 33.7 kB / 1.109 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3127, allocations: 320.4 kB / 1.109 GB, free: 288 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3129, allocations: 145.9 kB / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3129, allocations: 12 kB / 1.109 GB, free: 128 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.313, allocations: 366.8 kB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.3134, allocations: 165 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3138, allocations: 283.3 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.3142, allocations: 211.4 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3142, allocations: 0 / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00168/0.3159, allocations: 0.732 MB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.316, allocations: 180.4 kB / 1.111 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.316, allocations: 4 kB / 1.111 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/0.3169, allocations: 285.4 kB / 1.111 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.3172, allocations: 63.91 kB / 1.111 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.3231, allocations: 4.329 MB / 1.116 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009804/0.3241, allocations: 87.81 kB / 1.116 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.3241, allocations: 23.95 kB / 1.116 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.3241, allocations: 4.188 kB / 1.116 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/0.3257, allocations: 0.6495 MB / 1.116 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3257, allocations: 11.97 kB / 1.116 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/0.3266, allocations: 289.4 kB / 1.117 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.3269, allocations: 75.86 kB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.3326, allocations: 4.315 MB / 1.121 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.3335, allocations: 88.02 kB / 1.121 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.3336, allocations: 16 kB / 1.121 GB, free: 3.324 MB / 0.8731 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 (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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/0.3339, allocations: 300.8 kB / 1.121 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.334, allocations: 59.34 kB / 1.121 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.3357, allocations: 0.6672 MB / 1.122 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3358, allocations: 4 kB / 1.122 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3358, allocations: 0 / 1.122 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.3372, allocations: 0.7411 MB / 1.123 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.3402, allocations: 1.706 MB / 1.124 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3402, allocations: 0 / 1.124 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.3404, allocations: 51.91 kB / 1.124 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008978/0.3413, allocations: 253.5 kB / 1.125 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.3414, allocations: 20.05 kB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.3464, allocations: 3.931 MB / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3464, allocations: 12.36 kB / 1.129 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3484, allocations: 0.9346 MB / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.3486, allocations: 196.3 kB / 1.13 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.3487, allocations: 15.98 kB / 1.13 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.3496, allocations: 67.92 kB / 1.13 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3497, allocations: 35.95 kB / 1.13 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.3498, allocations: 15.98 kB / 1.13 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004991/0.3503, allocations: 362.8 kB / 1.13 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3503, allocations: 0 / 1.13 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001499/0.3518, allocations: 407.9 kB / 1.131 GB, free: 9.117 MB / 0.8887 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 (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 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005481/0.3523, allocations: 290.5 kB / 1.131 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.3552, allocations: 1.37 MB / 1.132 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3552, allocations: 0 / 1.132 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.3564, allocations: 0.5366 MB / 1.133 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.358, allocations: 351.5 kB / 1.133 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3601, allocations: 1.525 MB / 1.135 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3606, allocations: 0.9263 MB / 1.135 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005808/0.3611, allocations: 137.1 kB / 1.136 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3613, allocations: 51.42 kB / 1.136 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/0.3613, allocations: 0 / 1.136 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.03466/0.396, allocations: 16.98 MB / 1.152 GB, free: 3.062 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches