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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001174/0.001174, allocations: 180.4 kB / 492.3 MB, free: 0.625 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.694/1.694, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001/0.001, allocations: 101.8 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.814e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3656, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.826/7.191, allocations: 2.167 GB / 3.379 GB, free: 110.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/7.192, allocations: 90.45 kB / 3.379 GB, free: 110.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.227/10.42, allocations: 0.7206 GB / 4.1 GB, free: 267.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/10.42, allocations: 0 / 4.1 GB, free: 267.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001313/10.42, allocations: 43.66 kB / 4.1 GB, free: 267.4 MB / 1.151 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.003648/10.42, allocations: 1.562 MB / 4.101 GB, free: 266.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/10.42, allocations: 7.656 kB / 4.101 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/10.43, allocations: 495.4 kB / 4.102 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/10.43, allocations: 1.364 MB / 4.103 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/10.43, allocations: 79.31 kB / 4.103 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/10.43, allocations: 110.5 kB / 4.103 GB, free: 265.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/10.43, allocations: 1.288 MB / 4.105 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/10.43, allocations: 0 / 4.105 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/10.43, allocations: 46.44 kB / 4.105 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/10.43, allocations: 47.48 kB / 4.105 GB, free: 264.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/10.43, allocations: 1.227 MB / 4.106 GB, free: 263.9 MB / 1.151 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.006331/10.44, allocations: 5.037 MB / 4.111 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/10.44, allocations: 0.9316 MB / 4.112 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/10.44, allocations: 0.5883 MB / 4.112 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/10.44, allocations: 198.2 kB / 4.112 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/10.44, allocations: 47.34 kB / 4.112 GB, free: 257.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 3.597e-06/10.44, allocations: 2.875 kB / 4.112 GB, free: 257.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.004822/10.45, allocations: 2.674 MB / 4.115 GB, free: 254.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/10.45, allocations: 64.03 kB / 4.115 GB, free: 254.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/10.45, allocations: 0.9165 MB / 4.116 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/10.45, allocations: 45.33 kB / 4.116 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/10.45, allocations: 0.5566 MB / 4.117 GB, free: 252.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/10.45, allocations: 294.3 kB / 4.117 GB, free: 252.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/10.45, allocations: 16 kB / 4.117 GB, free: 252.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/10.45, allocations: 341.9 kB / 4.117 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/10.45, allocations: 449.3 kB / 4.118 GB, free: 251.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/10.45, allocations: 0.5969 MB / 4.118 GB, free: 251 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/10.45, allocations: 0.5543 MB / 4.119 GB, free: 250.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/10.45, allocations: 0 / 4.119 GB, free: 250.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001604/10.45, allocations: 1.252 MB / 4.12 GB, free: 249.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/10.45, allocations: 0.7929 MB / 4.121 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/10.45, allocations: 0 / 4.121 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/10.45, allocations: 72.75 kB / 4.121 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/10.45, allocations: 191.8 kB / 4.121 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/10.46, allocations: 2.994 MB / 4.124 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/10.46, allocations: 149.5 kB / 4.124 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.013e-05/10.46, allocations: 35.11 kB / 4.124 GB, free: 244.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/10.46, allocations: 6.812 kB / 4.124 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/10.46, allocations: 1.12 MB / 4.125 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/10.46, allocations: 6.219 kB / 4.125 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/10.46, allocations: 64.81 kB / 4.125 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/10.46, allocations: 179.5 kB / 4.126 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/10.46, allocations: 1.809 MB / 4.127 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/10.46, allocations: 151 kB / 4.127 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/10.46, allocations: 31.17 kB / 4.127 GB, free: 241.3 MB / 1.151 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 () * 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.0002673/10.46, allocations: 152.5 kB / 4.128 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/10.46, allocations: 118.6 kB / 4.128 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/10.46, allocations: 1.246 MB / 4.129 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/10.46, allocations: 11.25 kB / 4.129 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/10.47, allocations: 0 / 4.129 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/10.47, allocations: 1.279 MB / 4.13 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/10.47, allocations: 2.887 MB / 4.133 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/10.47, allocations: 0 / 4.133 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/10.47, allocations: 239.5 kB / 4.133 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/10.47, allocations: 71.62 kB / 4.133 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/10.47, allocations: 24 kB / 4.133 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/10.47, allocations: 2.983 MB / 4.136 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/10.47, allocations: 4.031 kB / 4.136 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/10.48, allocations: 1.99 MB / 4.138 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/10.48, allocations: 335.6 kB / 4.139 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/10.48, allocations: 24 kB / 4.139 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009967/10.48, allocations: 122.8 kB / 4.139 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/10.48, allocations: 55.95 kB / 4.139 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/10.48, allocations: 27.98 kB / 4.139 GB, free: 229.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009437/10.48, allocations: 0.7367 MB / 4.139 GB, free: 228.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/10.48, allocations: 0 / 4.139 GB, free: 228.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002446/10.48, allocations: 0.7983 MB / 4.14 GB, free: 227.8 MB / 1.151 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 () * 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.002032/10.48, allocations: 1.362 MB / 4.142 GB, free: 226.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002758/10.49, allocations: 1.936 MB / 4.143 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/10.49, allocations: 4 kB / 4.143 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/10.49, allocations: 0.6852 MB / 4.144 GB, free: 224.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/10.49, allocations: 0.794 MB / 4.145 GB, free: 223.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/10.49, allocations: 2.72 MB / 4.148 GB, free: 220.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/10.5, allocations: 1.489 MB / 4.149 GB, free: 219.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002616/10.5, allocations: 1.027 MB / 4.15 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/10.5, allocations: 79.17 kB / 4.15 GB, free: 218.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/10.5, allocations: 0 / 4.15 GB, free: 218.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06475/10.56, allocations: 47.96 MB / 4.197 GB, free: 170.7 MB / 1.151 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