Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.289/2.289, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001171/0.001171, allocations: 188.6 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.001015/0.001015, allocations: 91.89 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.949e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3307, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.164/2.495, allocations: 0.5217 GB / 1.74 GB, free: 399.7 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/2.495, allocations: 86.45 kB / 1.741 GB, free: 399.6 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 1.787/4.283, allocations: 408 MB / 2.139 GB, free: 293.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.863e-06/4.283, allocations: 0 / 2.139 GB, free: 293.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.252e-05/4.283, allocations: 25.23 kB / 2.139 GB, free: 293.5 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003053/4.286, allocations: 1.158 MB / 2.14 GB, free: 293.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/4.286, allocations: 11.19 kB / 2.14 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/4.287, allocations: 155.3 kB / 2.14 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/4.29, allocations: 0.9969 MB / 2.141 GB, free: 292.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/4.29, allocations: 37.53 kB / 2.141 GB, free: 292.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/4.29, allocations: 47.47 kB / 2.141 GB, free: 292.8 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/4.291, allocations: 0.4958 MB / 2.142 GB, free: 292.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/4.291, allocations: 3.469 kB / 2.142 GB, free: 292.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/4.291, allocations: 21 kB / 2.142 GB, free: 292.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/4.291, allocations: 11.38 kB / 2.142 GB, free: 292.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/4.291, allocations: 313.2 kB / 2.142 GB, free: 292.7 MB / 1.135 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.003217/4.295, allocations: 2.227 MB / 2.144 GB, free: 291.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/4.295, allocations: 259.7 kB / 2.145 GB, free: 291.5 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/4.295, allocations: 131.3 kB / 2.145 GB, free: 291.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/4.297, allocations: 2.023 MB / 2.147 GB, free: 289.1 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/4.297, allocations: 33.84 kB / 2.147 GB, free: 289.1 MB / 1.135 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/4.297, allocations: 1.25 kB / 2.147 GB, free: 289.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=43): time 0.004536/4.301, allocations: 1.478 MB / 2.148 GB, free: 288.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/4.301, allocations: 55.97 kB / 2.148 GB, free: 288.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/4.302, allocations: 442.5 kB / 2.149 GB, free: 288.5 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/4.302, allocations: 35.86 kB / 2.149 GB, free: 288.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/4.302, allocations: 330.4 kB / 2.149 GB, free: 288.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/4.302, allocations: 151.9 kB / 2.149 GB, free: 288.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/4.302, allocations: 10.75 kB / 2.149 GB, free: 288.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001422/4.303, allocations: 363.2 kB / 2.149 GB, free: 288 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/4.303, allocations: 140.4 kB / 2.15 GB, free: 288 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/4.303, allocations: 265.1 kB / 2.15 GB, free: 287.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/4.304, allocations: 192.6 kB / 2.15 GB, free: 287.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/4.304, allocations: 3.953 kB / 2.15 GB, free: 287.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001218/4.305, allocations: 0.5964 MB / 2.151 GB, free: 287.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/4.305, allocations: 1.136 MB / 2.152 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/4.305, allocations: 3.156 kB / 2.152 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00095/4.306, allocations: 193.8 kB / 2.152 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/4.307, allocations: 74.86 kB / 2.152 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/4.308, allocations: 1.329 MB / 2.153 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/4.308, allocations: 39.38 kB / 2.153 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/4.309, allocations: 23.05 kB / 2.153 GB, free: 285.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/4.309, allocations: 7 kB / 2.153 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/4.31, allocations: 0.5186 MB / 2.154 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/4.31, allocations: 3.938 kB / 2.154 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/4.311, allocations: 197.1 kB / 2.154 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/4.311, allocations: 69.12 kB / 2.154 GB, free: 285.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/4.312, allocations: 1.327 MB / 2.155 GB, free: 284.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/4.313, allocations: 40.41 kB / 2.155 GB, free: 284.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/4.313, allocations: 25.44 kB / 2.155 GB, free: 284.4 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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 {1 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/4.313, allocations: 134.3 kB / 2.156 GB, free: 284.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/4.313, allocations: 61.61 kB / 2.156 GB, free: 284.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/4.315, allocations: 0.6306 MB / 2.156 GB, free: 284.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/4.315, allocations: 8.062 kB / 2.156 GB, free: 284.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/4.315, allocations: 0 / 2.156 GB, free: 284.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008982/4.316, allocations: 0.6568 MB / 2.157 GB, free: 283.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/4.319, allocations: 1.414 MB / 2.158 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/4.319, allocations: 1.516 kB / 2.158 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/4.319, allocations: 53.67 kB / 2.158 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008708/4.32, allocations: 195.7 kB / 2.159 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/4.32, allocations: 12.58 kB / 2.159 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/4.321, allocations: 1.325 MB / 2.16 GB, free: 282.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/4.321, allocations: 0.6562 kB / 2.16 GB, free: 282.5 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/4.323, allocations: 0.8689 MB / 2.161 GB, free: 282.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/4.323, allocations: 195.7 kB / 2.161 GB, free: 282.2 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/4.323, allocations: 10.56 kB / 2.161 GB, free: 282.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/4.324, allocations: 30.64 kB / 2.161 GB, free: 282.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/4.324, allocations: 26.22 kB / 2.161 GB, free: 282.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/4.324, allocations: 21.34 kB / 2.161 GB, free: 282.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0006275/4.325, allocations: 345.8 kB / 2.161 GB, free: 282.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.71e-07/4.325, allocations: 0.9375 kB / 2.161 GB, free: 282.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002481/4.327, allocations: 0.4894 MB / 2.162 GB, free: 282.1 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/4.329, allocations: 0.5063 MB / 2.162 GB, free: 282 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001648/4.33, allocations: 0.6543 MB / 2.163 GB, free: 282 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/4.33, allocations: 1.312 kB / 2.163 GB, free: 282 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/4.331, allocations: 241.7 kB / 2.163 GB, free: 282 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/4.333, allocations: 316.4 kB / 2.163 GB, free: 282 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/4.335, allocations: 0.9016 MB / 2.164 GB, free: 281.7 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/4.335, allocations: 0.931 MB / 2.165 GB, free: 281 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001209/4.337, allocations: 264.6 kB / 2.165 GB, free: 281 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/4.337, allocations: 51.23 kB / 2.166 GB, free: 281 MB / 1.135 GB Notification: Performance of SimCode: time 2.074e-06/4.337, allocations: 1.25 kB / 2.166 GB, free: 281 MB / 1.135 GB Notification: Performance of Templates: time 0.04033/4.377, allocations: 17.16 MB / 2.182 GB, free: 280.7 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches