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.008462/0.008462, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001853/0.001853, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.25 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 159.9 MB / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.7684/1.122, allocations: 26.3 MB / 1.251 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01265/1.135, allocations: 7.12 MB / 1.258 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/1.137, allocations: 39 kB / 1.258 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/1.138, allocations: 389.1 kB / 1.259 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/1.142, allocations: 1.11 MB / 1.26 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/1.145, allocations: 0.9582 MB / 1.261 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003987/1.149, allocations: 2.085 MB / 1.263 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/1.15, allocations: 0.6158 MB / 1.263 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.153, allocations: 0.7248 MB / 1.264 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007902/1.153, allocations: 0.54 MB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/1.153, allocations: 53.47 kB / 1.265 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/1.156, allocations: 0.8083 MB / 1.265 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/1.156, allocations: 173 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/1.156, allocations: 380.1 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/1.158, allocations: 1.219 MB / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.158, allocations: 0 / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.158, allocations: 0 / 1.267 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.158, allocations: 4 kB / 1.267 GB, free: 5.102 MB / 0.9981 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.001477/1.16, allocations: 1.081 MB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.16, allocations: 10.5 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/1.16, allocations: 90.19 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/1.161, allocations: 0.7416 MB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/1.161, allocations: 38.38 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/1.161, allocations: 46.5 kB / 1.269 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/1.162, allocations: 0.5013 MB / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.162, allocations: 0 / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/1.162, allocations: 20.22 kB / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/1.162, allocations: 12.98 kB / 1.27 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/1.163, allocations: 326.1 kB / 1.27 GB, free: 3.938 MB / 0.9981 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.002981/1.166, allocations: 2.753 MB / 1.273 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/1.166, allocations: 198.4 kB / 1.273 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/1.167, allocations: 103.8 kB / 1.273 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/1.167, allocations: 339.2 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/1.167, allocations: 37.03 kB / 1.273 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/1.167, allocations: 0.9062 kB / 1.273 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0006582/1.168, allocations: 313.5 kB / 1.274 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/1.168, allocations: 53.06 kB / 1.274 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/1.168, allocations: 0.5329 MB / 1.274 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.168, allocations: 32.55 kB / 1.274 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/1.169, allocations: 356.3 kB / 1.274 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/1.169, allocations: 81.48 kB / 1.275 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.169, allocations: 79.23 kB / 1.275 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.169, allocations: 363.3 kB / 1.275 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.169, allocations: 94.73 kB / 1.275 GB, free: 16.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/1.169, allocations: 240.4 kB / 1.275 GB, free: 16.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/1.17, allocations: 337 kB / 1.276 GB, free: 16.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.17, allocations: 5.188 kB / 1.276 GB, free: 16.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006766/1.171, allocations: 389.3 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.171, allocations: 7.094 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.171, allocations: 9 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.171, allocations: 7.031 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/1.171, allocations: 81.7 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/1.171, allocations: 6.984 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/1.171, allocations: 40.25 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.171, allocations: 19.11 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003643/1.172, allocations: 243 kB / 1.276 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002884/1.172, allocations: 238.2 kB / 1.277 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004475/1.173, allocations: 336.1 kB / 1.277 GB, free: 15.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/1.173, allocations: 1.375 kB / 1.277 GB, free: 15.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006532/1.173, allocations: 391.5 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.173, allocations: 6.906 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.173, allocations: 8.875 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.173, allocations: 5.938 kB / 1.277 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.174, allocations: 82.5 kB / 1.277 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/1.174, allocations: 6.547 kB / 1.277 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/1.174, allocations: 33.97 kB / 1.277 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/1.174, allocations: 19.78 kB / 1.277 GB, free: 14.96 MB / 1.014 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.0001861/1.174, allocations: 212.2 kB / 1.278 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/1.174, allocations: 60.2 kB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/1.175, allocations: 279.2 kB / 1.278 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.175, allocations: 2.812 kB / 1.278 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.175, allocations: 4.656 kB / 1.278 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004795/1.176, allocations: 383.1 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.177, allocations: 1.063 MB / 1.279 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.177, allocations: 1.438 kB / 1.279 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/1.178, allocations: 52.14 kB / 1.279 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.178, allocations: 8.969 kB / 1.279 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.178, allocations: 8.703 kB / 1.279 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.178, allocations: 9.594 kB / 1.279 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.178, allocations: 6.594 kB / 1.279 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/1.178, allocations: 0.5174 MB / 1.28 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/1.179, allocations: 179.7 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/1.179, allocations: 9.516 kB / 1.28 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/1.179, allocations: 18.28 kB / 1.28 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/1.179, allocations: 23.72 kB / 1.28 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/1.179, allocations: 20.06 kB / 1.28 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005565/1.18, allocations: 408.6 kB / 1.281 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.18, allocations: 0 / 1.281 GB, free: 12.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001192/1.181, allocations: 354.3 kB / 1.281 GB, free: 12.76 MB / 1.014 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.0007342/1.182, allocations: 316.6 kB / 1.281 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007448/1.182, allocations: 408.2 kB / 1.282 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.182, allocations: 0 / 1.282 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/1.183, allocations: 111 kB / 1.282 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/1.184, allocations: 381.3 kB / 1.282 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.186, allocations: 1.105 MB / 1.283 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/1.187, allocations: 0.8983 MB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005846/1.187, allocations: 157.6 kB / 1.284 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.188, allocations: 52.97 kB / 1.284 GB, free: 10.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.188, allocations: 0 / 1.284 GB, free: 10.88 MB / 1.014 GB Notification: Performance of Templates: time 0.03488/1.222, allocations: 12.98 MB / 1.297 GB, free: 9.773 MB / 1.014 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