Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 99.94 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.001528/0.001528, 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.396/2.396, allocations: 390.2 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7338, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir): time 0.1865/0.9204, allocations: 156.2 MB / 1.106 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009271/0.9297, allocations: 6.188 MB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.9308, allocations: 35.75 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.9323, allocations: 0.525 MB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.9371, allocations: 1.74 MB / 1.114 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.9401, allocations: 1.046 MB / 1.115 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.9431, allocations: 1.394 MB / 1.117 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.9442, allocations: 0.5349 MB / 1.117 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.9454, allocations: 0.6423 MB / 1.118 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.9461, allocations: 450.2 kB / 1.118 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.9462, allocations: 32 kB / 1.118 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.9485, allocations: 0.8541 MB / 1.119 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.9488, allocations: 267.2 kB / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.9491, allocations: 205.3 kB / 1.12 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.9506, allocations: 1.192 MB / 1.121 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9506, allocations: 4 kB / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9506, allocations: 0 / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.9506, allocations: 0 / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001901/0.9525, allocations: 1.094 MB / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9526, allocations: 8.031 kB / 1.122 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.9546, allocations: 302.6 kB / 1.122 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.9559, allocations: 0.6946 MB / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.9559, allocations: 49.31 kB / 1.123 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.956, allocations: 60 kB / 1.123 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.957, allocations: 0.6077 MB / 1.124 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.9571, allocations: 4 kB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.9571, allocations: 24 kB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.9572, allocations: 29.3 kB / 1.124 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/0.958, allocations: 0.5439 MB / 1.124 GB, free: 0.8672 MB / 0.8731 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.0036/0.9616, allocations: 2.774 MB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.9624, allocations: 482 kB / 1.127 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.9624, allocations: 12.31 kB / 1.127 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.9625, allocations: 46.94 kB / 1.127 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=46): time 2.063e-06/0.9625, allocations: 0 / 1.127 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49): time 0.003018/0.9655, allocations: 1.529 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.9656, allocations: 59.84 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.9662, allocations: 0.547 MB / 1.129 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.9663, allocations: 41.64 kB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.9665, allocations: 360.3 kB / 1.13 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.9667, allocations: 173.4 kB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.9667, allocations: 8 kB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9669, allocations: 378.8 kB / 1.13 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9671, allocations: 185 kB / 1.131 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.9675, allocations: 278.5 kB / 1.131 GB, free: 9.641 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.9698, allocations: 0.8115 MB / 1.132 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.9698, allocations: 0 / 1.132 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009527/0.9707, allocations: 0.5978 MB / 1.132 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.971, allocations: 0.7048 MB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.971, allocations: 0 / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.9712, allocations: 40.84 kB / 1.133 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.9718, allocations: 115.8 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.9734, allocations: 2.111 MB / 1.135 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/0.9743, allocations: 63.77 kB / 1.135 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.9743, allocations: 16 kB / 1.135 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.9743, allocations: 4 kB / 1.135 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008557/0.9752, allocations: 0.5224 MB / 1.136 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.9752, allocations: 0 / 1.136 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.9753, allocations: 36.8 kB / 1.136 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.9757, allocations: 103.8 kB / 1.136 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.9769, allocations: 1.514 MB / 1.137 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/0.9777, allocations: 60.36 kB / 1.137 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.9778, allocations: 24 kB / 1.137 GB, free: 2.543 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004705/0.9783, allocations: 340.9 kB / 1.138 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9784, allocations: 63.25 kB / 1.138 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.9793, allocations: 0.5741 MB / 1.138 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9794, allocations: 4 kB / 1.138 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.9794, allocations: 0 / 1.138 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008819/0.9803, allocations: 0.7997 MB / 1.139 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.9826, allocations: 1.575 MB / 1.141 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9826, allocations: 0 / 1.141 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.9833, allocations: 119.9 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.9834, allocations: 36.83 kB / 1.141 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.9835, allocations: 12 kB / 1.141 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.9851, allocations: 1.968 MB / 1.143 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9852, allocations: 4.031 kB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.9864, allocations: 0.9417 MB / 1.144 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.9868, allocations: 196.4 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.9869, allocations: 19.94 kB / 1.144 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.9875, allocations: 53.44 kB / 1.144 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.9876, allocations: 31.95 kB / 1.144 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.9876, allocations: 16 kB / 1.144 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004579/0.9881, allocations: 391.1 kB / 1.144 GB, free: 11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9881, allocations: 0 / 1.144 GB, free: 11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001297/0.9894, allocations: 380 kB / 1.145 GB, free: 10.63 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006624/0.99, allocations: 212.3 kB / 1.145 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.9921, allocations: 1.009 MB / 1.146 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.9921, allocations: 8 kB / 1.146 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.9926, allocations: 378.4 kB / 1.146 GB, free: 9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.9947, allocations: 473.8 kB / 1.147 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.9977, allocations: 1.997 MB / 1.149 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.9984, allocations: 1.017 MB / 1.15 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009416/0.9994, allocations: 221.9 kB / 1.15 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.9996, allocations: 55.44 kB / 1.15 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of SimCode: time 3.076e-06/0.9996, allocations: 0 / 1.15 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of Templates: time 0.02457/1.024, allocations: 14.58 MB / 1.164 GB, free: 6.805 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches