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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.7 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.001287/0.001287, 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8244, allocations: 142.3 MB / 0.9535 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort): time 0.1957/1.02, allocations: 164.4 MB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01077/1.031, allocations: 6.208 MB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/1.033, allocations: 23.81 kB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/1.035, allocations: 438.1 kB / 1.121 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/1.039, allocations: 1.398 MB / 1.122 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/1.042, allocations: 0.8734 MB / 1.123 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004295/1.046, allocations: 2.25 MB / 1.125 GB, free: 284 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/1.048, allocations: 1.168 MB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/1.051, allocations: 1.024 MB / 1.127 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.052, allocations: 0.7704 MB / 1.128 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/1.052, allocations: 52 kB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/1.054, allocations: 0.7176 MB / 1.129 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005431/1.055, allocations: 450.7 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/1.055, allocations: 333 kB / 1.129 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/1.057, allocations: 1.999 MB / 1.131 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.057, allocations: 0 / 1.131 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.825e-06/1.057, allocations: 8 kB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.203e-05/1.057, allocations: 0 / 1.131 GB, free: 9.723 MB / 0.8887 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.002817/1.06, allocations: 1.647 MB / 1.133 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.06, allocations: 8.031 kB / 1.133 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.064, allocations: 0.4899 MB / 1.133 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/1.066, allocations: 1.199 MB / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/1.066, allocations: 82.06 kB / 1.135 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/1.067, allocations: 115.9 kB / 1.135 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/1.069, allocations: 1.402 MB / 1.136 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.069, allocations: 0 / 1.136 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.069, allocations: 44 kB / 1.136 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/1.069, allocations: 38.06 kB / 1.136 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/1.072, allocations: 1.351 MB / 1.138 GB, free: 3.191 MB / 0.8887 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.009519/1.081, allocations: 5.091 MB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.083, allocations: 0.9869 MB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/1.083, allocations: 28.62 kB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.083, allocations: 47.16 kB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=81): time 3.146e-06/1.083, allocations: 0 / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.005805/1.089, allocations: 3.142 MB / 1.147 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.089, allocations: 72.33 kB / 1.147 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.091, allocations: 1.034 MB / 1.148 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/1.091, allocations: 49.7 kB / 1.148 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/1.091, allocations: 0.5509 MB / 1.148 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/1.091, allocations: 291.6 kB / 1.149 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/1.091, allocations: 16 kB / 1.149 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.091, allocations: 342 kB / 1.149 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/1.092, allocations: 461.6 kB / 1.149 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/1.093, allocations: 0.598 MB / 1.15 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/1.094, allocations: 0.565 MB / 1.151 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.094, allocations: 0 / 1.151 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002127/1.096, allocations: 1.278 MB / 1.152 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/1.097, allocations: 0.7906 MB / 1.153 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.097, allocations: 4 kB / 1.153 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/1.097, allocations: 76.8 kB / 1.153 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.098, allocations: 203.7 kB / 1.153 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/1.101, allocations: 3.014 MB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.102, allocations: 150.9 kB / 1.156 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/1.102, allocations: 31.98 kB / 1.156 GB, free: 15.56 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/1.102, allocations: 4 kB / 1.156 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001609/1.104, allocations: 1.152 MB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/1.104, allocations: 0 / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/1.104, allocations: 72.8 kB / 1.157 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/1.105, allocations: 171.8 kB / 1.157 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/1.107, allocations: 1.827 MB / 1.159 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.108, allocations: 156.8 kB / 1.159 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/1.108, allocations: 28 kB / 1.159 GB, free: 12.03 MB / 0.92 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.0009459/1.109, allocations: 0.6177 MB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.109, allocations: 118.6 kB / 1.16 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/1.111, allocations: 1.263 MB / 1.161 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/1.111, allocations: 11.98 kB / 1.161 GB, free: 9.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.111, allocations: 4 kB / 1.161 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/1.113, allocations: 1.296 MB / 1.162 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/1.118, allocations: 2.914 MB / 1.165 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.118, allocations: 4 kB / 1.165 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.119, allocations: 235.7 kB / 1.166 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/1.119, allocations: 73.06 kB / 1.166 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/1.119, allocations: 27.98 kB / 1.166 GB, free: 5.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/1.121, allocations: 3.007 MB / 1.169 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.121, allocations: 11.92 kB / 1.169 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.124, allocations: 2.026 MB / 1.171 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/1.125, allocations: 339.5 kB / 1.171 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/1.125, allocations: 20 kB / 1.171 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.127, allocations: 115.7 kB / 1.171 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.127, allocations: 64.47 kB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/1.127, allocations: 35.98 kB / 1.171 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001165/1.128, allocations: 0.7361 MB / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/1.128, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002073/1.13, allocations: 0.6757 MB / 1.172 GB, free: 13.97 MB / 0.9356 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.0005936/1.131, allocations: 227 kB / 1.173 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003281/1.134, allocations: 1.954 MB / 1.175 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.134, allocations: 4 kB / 1.175 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.135, allocations: 0.701 MB / 1.175 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.139, allocations: 0.7795 MB / 1.176 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/1.145, allocations: 3.755 MB / 1.18 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.146, allocations: 1.484 MB / 1.181 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002242/1.148, allocations: 0.6926 MB / 1.182 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/1.149, allocations: 87.44 kB / 1.182 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.149, allocations: 0 / 1.182 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.04479/1.194, allocations: 26.48 MB / 1.208 GB, free: 9.996 MB / 0.9669 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