Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,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_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001129/0.001128, allocations: 169.1 kB / 498.1 MB, free: 5.727 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.544/1.544, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.0008844/0.0008844, allocations: 92.91 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 10.62 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3285, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.153, allocations: 2.167 GB / 3.39 GB, free: 264.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.153, allocations: 101.4 kB / 3.39 GB, free: 264.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.794/8.948, allocations: 0.7213 GB / 4.111 GB, free: 311.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.134e-06/8.948, allocations: 0 / 4.111 GB, free: 311.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001359/8.948, allocations: 46.11 kB / 4.111 GB, free: 311.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005547/8.953, allocations: 1.816 MB / 4.113 GB, free: 310.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/8.953, allocations: 9.156 kB / 4.113 GB, free: 310.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/8.957, allocations: 496.5 kB / 4.113 GB, free: 310.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/8.962, allocations: 1.359 MB / 4.115 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/8.962, allocations: 80.91 kB / 4.115 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/8.962, allocations: 117.2 kB / 4.115 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/8.965, allocations: 1.311 MB / 4.116 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/8.965, allocations: 0.6562 kB / 4.116 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/8.965, allocations: 45.73 kB / 4.116 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/8.965, allocations: 38.36 kB / 4.116 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/8.968, allocations: 1.252 MB / 4.117 GB, free: 310.3 MB / 1.167 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.009593/8.977, allocations: 5.045 MB / 4.122 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/8.979, allocations: 0.9532 MB / 4.123 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/8.98, allocations: 202.1 kB / 4.123 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/8.98, allocations: 45.53 kB / 4.123 GB, free: 307.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.957e-06/8.98, allocations: 1.125 kB / 4.123 GB, free: 307.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.007839/8.988, allocations: 3.113 MB / 4.126 GB, free: 307.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/8.988, allocations: 60.8 kB / 4.127 GB, free: 307.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/8.99, allocations: 0.9207 MB / 4.127 GB, free: 307.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/8.99, allocations: 46.05 kB / 4.127 GB, free: 307.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/8.99, allocations: 0.553 MB / 4.128 GB, free: 307 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/8.991, allocations: 299.1 kB / 4.128 GB, free: 306.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/8.991, allocations: 13.38 kB / 4.128 GB, free: 306.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001035/8.991, allocations: 343.8 kB / 4.129 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/8.992, allocations: 456.4 kB / 4.129 GB, free: 306.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/8.992, allocations: 0.6131 MB / 4.13 GB, free: 306.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/8.993, allocations: 0.5573 MB / 4.13 GB, free: 306.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/8.993, allocations: 0.75 kB / 4.13 GB, free: 306.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002172/8.996, allocations: 1.266 MB / 4.131 GB, free: 306.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/8.996, allocations: 0.7994 MB / 4.132 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/8.996, allocations: 0 / 4.132 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/8.996, allocations: 68.58 kB / 4.132 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009761/8.997, allocations: 189.8 kB / 4.133 GB, free: 305.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/8.999, allocations: 3.012 MB / 4.135 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/9.001, allocations: 160.2 kB / 4.136 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/9.001, allocations: 28.84 kB / 4.136 GB, free: 303 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/9.001, allocations: 7.578 kB / 4.136 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/9.003, allocations: 1.14 MB / 4.137 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/9.003, allocations: 3.875 kB / 4.137 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/9.003, allocations: 69.16 kB / 4.137 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/9.003, allocations: 178.5 kB / 4.137 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/9.005, allocations: 1.831 MB / 4.139 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/9.006, allocations: 149.1 kB / 4.139 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/9.007, allocations: 34.88 kB / 4.139 GB, free: 301.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001002/9.008, allocations: 0.6163 MB / 4.14 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/9.008, allocations: 117.3 kB / 4.14 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/9.01, allocations: 1.253 MB / 4.141 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/9.01, allocations: 7.281 kB / 4.141 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/9.01, allocations: 0 / 4.141 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/9.011, allocations: 1.304 MB / 4.142 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/9.015, allocations: 2.9 MB / 4.145 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/9.015, allocations: 0 / 4.145 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/9.016, allocations: 247 kB / 4.145 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/9.017, allocations: 78.02 kB / 4.145 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/9.017, allocations: 24.47 kB / 4.145 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/9.018, allocations: 3.007 MB / 4.148 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/9.018, allocations: 3.969 kB / 4.148 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/9.021, allocations: 2.015 MB / 4.15 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/9.023, allocations: 340.9 kB / 4.151 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/9.023, allocations: 22.19 kB / 4.151 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/9.024, allocations: 115.9 kB / 4.151 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/9.024, allocations: 57.34 kB / 4.151 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/9.024, allocations: 31.47 kB / 4.151 GB, free: 297.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001276/9.026, allocations: 0.7453 MB / 4.152 GB, free: 297.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/9.026, allocations: 0 / 4.152 GB, free: 297.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002872/9.029, allocations: 0.7988 MB / 4.152 GB, free: 297.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/9.031, allocations: 1.356 MB / 4.154 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002898/9.034, allocations: 1.929 MB / 4.155 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/9.034, allocations: 0 / 4.155 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008856/9.034, allocations: 0.6925 MB / 4.156 GB, free: 296.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/9.038, allocations: 0.7866 MB / 4.157 GB, free: 296.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/9.044, allocations: 3.739 MB / 4.161 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/9.045, allocations: 1.485 MB / 4.162 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00209/9.047, allocations: 0.6852 MB / 4.163 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/9.048, allocations: 92.73 kB / 4.163 GB, free: 294.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.054e-06/9.048, allocations: 0 / 4.163 GB, free: 294.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05848/9.106, allocations: 42.27 MB / 4.204 GB, free: 293.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches