Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 193.3 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.72 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3455, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02791/0.3734, allocations: 26.16 MB / 1.093 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3842, allocations: 7.187 MB / 1.1 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.3855, allocations: 31.81 kB / 1.1 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3866, allocations: 314.2 kB / 1.1 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.3895, allocations: 1.041 MB / 1.101 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.3925, allocations: 0.849 MB / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003986/0.3965, allocations: 2.803 MB / 1.105 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.3977, allocations: 0.5274 MB / 1.106 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.3994, allocations: 0.6105 MB / 1.106 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.4005, allocations: 0.5521 MB / 1.107 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4007, allocations: 28 kB / 1.107 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.4026, allocations: 0.7796 MB / 1.107 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.4029, allocations: 143.4 kB / 1.108 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.4035, allocations: 354.2 kB / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.4058, allocations: 1.188 MB / 1.109 GB, free: 172 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4058, allocations: 4 kB / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4058, allocations: 0 / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.053e-05/0.4058, allocations: 0 / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002508/0.4083, allocations: 1.051 MB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4084, allocations: 8.031 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.4089, allocations: 91.98 kB / 1.11 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.4104, allocations: 0.7255 MB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4104, allocations: 36.94 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.4105, allocations: 48 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.4114, allocations: 0.5078 MB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4114, allocations: 0 / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.4115, allocations: 16 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.4115, allocations: 12 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.4121, allocations: 323.7 kB / 1.112 GB, free: 13.23 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.003288/0.4154, allocations: 2.74 MB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.4158, allocations: 203 kB / 1.115 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.416, allocations: 104.8 kB / 1.115 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.4163, allocations: 340.4 kB / 1.115 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4164, allocations: 38.88 kB / 1.115 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.4164, allocations: 0 / 1.115 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.0006741/0.4171, allocations: 303.5 kB / 1.115 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.4171, allocations: 63.39 kB / 1.116 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.4178, allocations: 0.5107 MB / 1.116 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4179, allocations: 29.7 kB / 1.116 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.4182, allocations: 351.5 kB / 1.116 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.4183, allocations: 82.84 kB / 1.116 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4184, allocations: 77.52 kB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4186, allocations: 362.8 kB / 1.117 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4187, allocations: 100.8 kB / 1.117 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.419, allocations: 241.8 kB / 1.117 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.4195, allocations: 337.3 kB / 1.118 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4195, allocations: 4 kB / 1.118 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006704/0.4202, allocations: 388.5 kB / 1.118 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4202, allocations: 4 kB / 1.118 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4202, allocations: 4 kB / 1.118 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4202, allocations: 8 kB / 1.118 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.4205, allocations: 79.84 kB / 1.118 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4206, allocations: 8.531 kB / 1.118 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.421, allocations: 55.56 kB / 1.118 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.4211, allocations: 20 kB / 1.118 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000337/0.4214, allocations: 248 kB / 1.118 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000251/0.4217, allocations: 237.8 kB / 1.119 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004196/0.4221, allocations: 328 kB / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.4221, allocations: 0 / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006116/0.4227, allocations: 390.8 kB / 1.119 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4227, allocations: 8 kB / 1.119 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4227, allocations: 4 kB / 1.119 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.4228, allocations: 4 kB / 1.119 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.423, allocations: 79.84 kB / 1.119 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.423, allocations: 15.88 kB / 1.119 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.4234, allocations: 51.88 kB / 1.119 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4235, allocations: 20 kB / 1.119 GB, free: 4.84 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.4236, allocations: 204.1 kB / 1.12 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4237, allocations: 51.34 kB / 1.12 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.4242, allocations: 285.2 kB / 1.12 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4243, allocations: 7.938 kB / 1.12 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4243, allocations: 3.938 kB / 1.12 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003577/0.4246, allocations: 381.3 kB / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4262, allocations: 1.055 MB / 1.121 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.4262, allocations: 4 kB / 1.121 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.4264, allocations: 55.91 kB / 1.121 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.4264, allocations: 4 kB / 1.121 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4265, allocations: 8 kB / 1.121 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4265, allocations: 4 kB / 1.121 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4265, allocations: 288 / 1.121 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.4271, allocations: 0.5148 MB / 1.122 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4274, allocations: 172.3 kB / 1.122 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.4275, allocations: 12 kB / 1.122 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.4279, allocations: 39.95 kB / 1.122 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.428, allocations: 27.84 kB / 1.122 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.428, allocations: 12 kB / 1.122 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004823/0.4285, allocations: 407.1 kB / 1.123 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4285, allocations: 0 / 1.123 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001054/0.4295, allocations: 343.3 kB / 1.123 GB, free: 1.062 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.4303, allocations: 299.6 kB / 1.123 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006683/0.431, allocations: 401.5 kB / 1.124 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.431, allocations: 0 / 1.124 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.4312, allocations: 103.8 kB / 1.124 GB, free: 284 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4331, allocations: 383.6 kB / 1.124 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.435, allocations: 1.297 MB / 1.125 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.4355, allocations: 0.8944 MB / 1.126 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006062/0.4361, allocations: 165 kB / 1.126 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4363, allocations: 59.42 kB / 1.126 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.4363, allocations: 0 / 1.126 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of Templates: time 0.02219/0.4585, allocations: 12.26 MB / 1.138 GB, free: 1.309 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches