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.0009269/0.0009269, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009567/0.0009568, allocations: 177.3 kB / 15.95 MB, free: 216 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.575/2.575, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.000392, allocations: 16 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 153.6 MB / 1.021 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.02159/0.5825, allocations: 20.71 MB / 1.041 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.009239/0.5917, allocations: 5.919 MB / 1.047 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.5931, allocations: 31.81 kB / 1.047 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.5948, allocations: 402 kB / 1.047 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.5993, allocations: 1.389 MB / 1.049 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.6023, allocations: 1 MB / 1.05 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002514/0.6049, allocations: 1.271 MB / 1.051 GB, free: 2.445 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6057, allocations: 453.4 kB / 1.051 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.6068, allocations: 0.5293 MB / 1.052 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.6074, allocations: 350.3 kB / 1.052 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.6076, allocations: 20 kB / 1.052 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.6093, allocations: 0.6865 MB / 1.053 GB, free: 420 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.6095, allocations: 127.5 kB / 1.053 GB, free: 292 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.6097, allocations: 161.4 kB / 1.053 GB, free: 124 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.611, allocations: 0.9021 MB / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.611, allocations: 0 / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.611, allocations: 0 / 1.054 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.611, allocations: 0 / 1.054 GB, free: 15.22 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.001325/0.6124, allocations: 0.9305 MB / 1.055 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6124, allocations: 12.02 kB / 1.055 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.6147, allocations: 282.7 kB / 1.055 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.6161, allocations: 0.6468 MB / 1.056 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.6161, allocations: 41 kB / 1.056 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.6162, allocations: 44 kB / 1.056 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.617, allocations: 0.5165 MB / 1.056 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6171, allocations: 4 kB / 1.056 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.6171, allocations: 16 kB / 1.056 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.6171, allocations: 12 kB / 1.056 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.6178, allocations: 359.6 kB / 1.057 GB, free: 12.24 MB / 0.8106 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.002933/0.6207, allocations: 2.826 MB / 1.059 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.6213, allocations: 310.7 kB / 1.06 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/0.6218, allocations: 0.6573 MB / 1.06 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6218, allocations: 38.73 kB / 1.06 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 2.013e-06/0.6218, allocations: 4 kB / 1.06 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.006534/0.6284, allocations: 2.081 MB / 1.062 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6285, allocations: 81.11 kB / 1.063 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.6292, allocations: 0.5146 MB / 1.063 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.6293, allocations: 37.64 kB / 1.063 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.6295, allocations: 324.3 kB / 1.063 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.6296, allocations: 141.9 kB / 1.064 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.6297, allocations: 12 kB / 1.064 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6298, allocations: 366.8 kB / 1.064 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.6302, allocations: 165 kB / 1.064 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.6306, allocations: 281.7 kB / 1.064 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.631, allocations: 207.9 kB / 1.065 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6311, allocations: 4 kB / 1.065 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001826/0.6329, allocations: 0.732 MB / 1.065 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/0.6333, allocations: 1.221 MB / 1.066 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6333, allocations: 8 kB / 1.066 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6344, allocations: 285.4 kB / 1.067 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.6347, allocations: 71.89 kB / 1.067 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.6411, allocations: 4.405 MB / 1.071 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6423, allocations: 79.91 kB / 1.071 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.6424, allocations: 16 kB / 1.071 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.6424, allocations: 8 kB / 1.071 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001688/0.6441, allocations: 0.6608 MB / 1.072 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6441, allocations: 7.953 kB / 1.072 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000965/0.6451, allocations: 277.9 kB / 1.072 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.6454, allocations: 67.91 kB / 1.072 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/0.6516, allocations: 4.419 MB / 1.076 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.6527, allocations: 75.92 kB / 1.077 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.6528, allocations: 23.98 kB / 1.077 GB, free: 6.645 MB / 0.8262 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.0003591/0.6532, allocations: 285 kB / 1.077 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6533, allocations: 59.25 kB / 1.077 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.6552, allocations: 0.6705 MB / 1.078 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.6552, allocations: 7.984 kB / 1.078 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.6552, allocations: 0 / 1.078 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/0.6567, allocations: 0.7454 MB / 1.078 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.6599, allocations: 1.694 MB / 1.08 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6599, allocations: 0 / 1.08 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.6602, allocations: 51.91 kB / 1.08 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000952/0.6612, allocations: 257.6 kB / 1.08 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.6612, allocations: 15.98 kB / 1.08 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005688/0.6669, allocations: 4.025 MB / 1.084 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6669, allocations: 4.094 kB / 1.084 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.669, allocations: 0.9521 MB / 1.085 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.6694, allocations: 188.3 kB / 1.085 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6696, allocations: 8.562 kB / 1.085 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.6707, allocations: 67.98 kB / 1.085 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6708, allocations: 39.94 kB / 1.085 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.6708, allocations: 15.98 kB / 1.085 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005488/0.6714, allocations: 362.8 kB / 1.086 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6714, allocations: 0 / 1.086 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001596/0.673, allocations: 415.9 kB / 1.086 GB, free: 12.35 MB / 0.8419 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.000595/0.6736, allocations: 288.6 kB / 1.086 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.6767, allocations: 1.359 MB / 1.088 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.6767, allocations: 0 / 1.088 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.6779, allocations: 0.5481 MB / 1.088 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.6796, allocations: 333 kB / 1.089 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.6818, allocations: 1.528 MB / 1.09 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.6824, allocations: 0.9417 MB / 1.091 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006377/0.683, allocations: 134.1 kB / 1.091 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6832, allocations: 55.42 kB / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.6832, allocations: 0 / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of Templates: time 0.02728/0.7105, allocations: 16.98 MB / 1.108 GB, free: 6.297 MB / 0.8575 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches