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.0008257/0.0008256, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001044/0.001044, allocations: 168.7 kB / 15.95 MB, free: 204 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.312 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.428/2.428, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003795, allocations: 8 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7558, allocations: 142.4 MB / 0.9544 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir): time 0.215/0.9708, allocations: 171 MB / 1.121 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009576/0.9804, allocations: 5.918 MB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.9817, allocations: 27.81 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.983, allocations: 349.8 kB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.9877, allocations: 1.312 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.9901, allocations: 0.7103 MB / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003906/0.994, allocations: 2.799 MB / 1.132 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000916/0.9949, allocations: 0.5425 MB / 1.133 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.9965, allocations: 0.7507 MB / 1.134 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.9976, allocations: 0.677 MB / 1.134 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.963e-05/0.9977, allocations: 32 kB / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/1, allocations: 1.076 MB / 1.135 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/1.001, allocations: 291 kB / 1.136 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/1.001, allocations: 205.3 kB / 1.136 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/1.003, allocations: 1.309 MB / 1.137 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.003, allocations: 0 / 1.137 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/1.003, allocations: 0 / 1.137 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.003, allocations: 0 / 1.137 GB, free: 4.129 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001911/1.005, allocations: 1.118 MB / 1.138 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.005, allocations: 12.03 kB / 1.138 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/1.007, allocations: 306.6 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.008, allocations: 0.6945 MB / 1.139 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/1.008, allocations: 45.31 kB / 1.139 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/1.008, allocations: 63.98 kB / 1.139 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.01, allocations: 0.6194 MB / 1.14 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.01, allocations: 0 / 1.14 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/1.01, allocations: 28 kB / 1.14 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/1.01, allocations: 21.31 kB / 1.14 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/1.011, allocations: 0.5478 MB / 1.14 GB, free: 0.5781 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.00357/1.014, allocations: 2.782 MB / 1.143 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/1.015, allocations: 466.9 kB / 1.144 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/1.015, allocations: 249.5 kB / 1.144 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.016, allocations: 105.5 kB / 1.144 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.016, allocations: 42.88 kB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=46): time 2.073e-06/1.016, allocations: 0 / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.003089/1.019, allocations: 1.542 MB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.019, allocations: 55.84 kB / 1.145 GB, free: 11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/1.02, allocations: 0.5509 MB / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/1.02, allocations: 37.7 kB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/1.02, allocations: 356.3 kB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/1.02, allocations: 177.4 kB / 1.147 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/1.02, allocations: 12 kB / 1.147 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.02, allocations: 374.8 kB / 1.147 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/1.021, allocations: 189 kB / 1.147 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/1.021, allocations: 282.5 kB / 1.147 GB, free: 8.984 MB / 0.9044 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.002266/1.023, allocations: 0.7999 MB / 1.148 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.023, allocations: 0 / 1.148 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009981/1.024, allocations: 0.5976 MB / 1.149 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.024, allocations: 148.9 kB / 1.149 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.024, allocations: 4 kB / 1.149 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/1.025, allocations: 36.78 kB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/1.025, allocations: 111.9 kB / 1.149 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/1.027, allocations: 2.104 MB / 1.151 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/1.028, allocations: 63.77 kB / 1.151 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/1.028, allocations: 16 kB / 1.151 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/1.028, allocations: 4 kB / 1.151 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008365/1.028, allocations: 0.5147 MB / 1.152 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.028, allocations: 8 kB / 1.152 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/1.029, allocations: 40.83 kB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/1.029, allocations: 99.83 kB / 1.152 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/1.03, allocations: 1.514 MB / 1.153 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/1.031, allocations: 55.91 kB / 1.153 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/1.031, allocations: 23.98 kB / 1.153 GB, free: 2.5 MB / 0.9044 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.0004189/1.032, allocations: 337.2 kB / 1.154 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.032, allocations: 71.2 kB / 1.154 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.033, allocations: 0.5662 MB / 1.154 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.033, allocations: 4 kB / 1.154 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.033, allocations: 3.938 kB / 1.154 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009114/1.034, allocations: 0.7958 MB / 1.155 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/1.036, allocations: 1.575 MB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.036, allocations: 0 / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/1.037, allocations: 124 kB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/1.037, allocations: 36.77 kB / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/1.037, allocations: 16 kB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/1.038, allocations: 1.956 MB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.038, allocations: 4.031 kB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/1.039, allocations: 0.8975 MB / 1.16 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/1.04, allocations: 200.2 kB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.04, allocations: 12 kB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/1.041, allocations: 48.89 kB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/1.041, allocations: 27.97 kB / 1.16 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/1.041, allocations: 19.98 kB / 1.16 GB, free: 11.42 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005062/1.041, allocations: 391.1 kB / 1.16 GB, free: 11.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.21e-07/1.041, allocations: 3.938 kB / 1.16 GB, free: 11.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001205/1.042, allocations: 375.9 kB / 1.161 GB, free: 10.67 MB / 0.92 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.0004468/1.043, allocations: 206.2 kB / 1.161 GB, free: 10.47 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001837/1.045, allocations: 1.009 MB / 1.162 GB, free: 9.434 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.045, allocations: 0 / 1.162 GB, free: 9.434 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/1.045, allocations: 386.1 kB / 1.162 GB, free: 9.043 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.047, allocations: 470.4 kB / 1.163 GB, free: 8.586 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.05, allocations: 2.004 MB / 1.165 GB, free: 6.539 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/1.051, allocations: 1.001 MB / 1.166 GB, free: 5.508 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009281/1.052, allocations: 229.8 kB / 1.166 GB, free: 5.281 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/1.052, allocations: 55.44 kB / 1.166 GB, free: 5.227 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/1.052, allocations: 0 / 1.166 GB, free: 5.227 MB / 0.92 GB Notification: Performance of Templates: time 0.02701/1.079, allocations: 14.6 MB / 1.18 GB, free: 6.832 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches