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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009872/0.0009872, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 176.6 kB / 16.92 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 14.84 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02429/0.379, allocations: 25.49 MB / 1.084 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3894, allocations: 7.088 MB / 1.091 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3907, allocations: 31.75 kB / 1.091 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.3917, allocations: 318.2 kB / 1.091 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.3948, allocations: 1.033 MB / 1.092 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.3971, allocations: 0.8553 MB / 1.093 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003277/0.4004, allocations: 2.798 MB / 1.096 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000817/0.4012, allocations: 0.5217 MB / 1.097 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.4023, allocations: 0.5988 MB / 1.097 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.403, allocations: 0.5287 MB / 1.098 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.4031, allocations: 23.94 kB / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4047, allocations: 0.7757 MB / 1.098 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.4049, allocations: 135.4 kB / 1.099 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.4052, allocations: 363.9 kB / 1.099 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.4063, allocations: 0.8846 MB / 1.1 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4063, allocations: 7.938 kB / 1.1 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4063, allocations: 0 / 1.1 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4063, allocations: 0 / 1.1 GB, free: 11.42 MB / 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.001337/0.4076, allocations: 0.9112 MB / 1.101 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4077, allocations: 12.02 kB / 1.101 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.408, allocations: 80.09 kB / 1.101 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4091, allocations: 0.7333 MB / 1.101 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.4091, allocations: 40.94 kB / 1.101 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.4092, allocations: 44 kB / 1.102 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.41, allocations: 0.504 MB / 1.102 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.41, allocations: 3.938 kB / 1.102 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.41, allocations: 20 kB / 1.102 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4101, allocations: 12 kB / 1.102 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.4106, allocations: 319.7 kB / 1.102 GB, free: 8.621 MB / 0.8575 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.002883/0.4135, allocations: 2.744 MB / 1.105 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.4138, allocations: 202.5 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.414, allocations: 104.8 kB / 1.105 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/0.4143, allocations: 340.4 kB / 1.106 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4144, allocations: 34.88 kB / 1.106 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.4144, allocations: 0 / 1.106 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0005539/0.4149, allocations: 312.8 kB / 1.106 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.415, allocations: 59.34 kB / 1.106 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.4156, allocations: 0.5146 MB / 1.107 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4157, allocations: 33.7 kB / 1.107 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.4159, allocations: 339.3 kB / 1.107 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.416, allocations: 86.91 kB / 1.107 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.4161, allocations: 37.7 kB / 1.107 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4162, allocations: 362.8 kB / 1.107 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4164, allocations: 95.91 kB / 1.107 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4167, allocations: 229.9 kB / 1.108 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.4171, allocations: 341.5 kB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4171, allocations: 7.938 kB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005516/0.4177, allocations: 385.9 kB / 1.108 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.4178, allocations: 205.9 kB / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4179, allocations: 11.94 kB / 1.109 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4179, allocations: 4 kB / 1.109 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.4181, allocations: 79.84 kB / 1.109 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.4182, allocations: 19.92 kB / 1.109 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.4186, allocations: 55.58 kB / 1.109 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.4186, allocations: 12 kB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.4186, allocations: 5.406 kB / 1.109 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004656/0.4191, allocations: 318.9 kB / 1.109 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4191, allocations: 4.562 kB / 1.109 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.4191, allocations: 8 kB / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4194, allocations: 83.84 kB / 1.109 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4194, allocations: 4 kB / 1.109 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.4197, allocations: 47.66 kB / 1.109 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4198, allocations: 20 kB / 1.109 GB, free: 1.023 MB / 0.8575 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.0002792/0.4201, allocations: 284.9 kB / 1.11 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.4201, allocations: 55.34 kB / 1.11 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.4206, allocations: 272.7 kB / 1.11 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4207, allocations: 4 kB / 1.11 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4207, allocations: 0 / 1.11 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000396/0.4211, allocations: 381.4 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.4226, allocations: 1.057 MB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4226, allocations: 288 / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4228, allocations: 55.91 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4228, allocations: 4 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.4228, allocations: 11.94 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4228, allocations: 7.984 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4229, allocations: 4 kB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.4235, allocations: 0.5144 MB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.4237, allocations: 180.2 kB / 1.112 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.4238, allocations: 19.92 kB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.4241, allocations: 31.89 kB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.4242, allocations: 23.91 kB / 1.112 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.4242, allocations: 19.98 kB / 1.112 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004396/0.4247, allocations: 403 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4247, allocations: 4 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000973/0.4256, allocations: 343.3 kB / 1.113 GB, free: 13.16 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.000643/0.4263, allocations: 302.5 kB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005959/0.4269, allocations: 404.5 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4269, allocations: 0 / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4271, allocations: 104.4 kB / 1.114 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.429, allocations: 380.5 kB / 1.114 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.4309, allocations: 1.384 MB / 1.115 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.4313, allocations: 0.8944 MB / 1.116 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4315, allocations: 59.36 kB / 1.116 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of SimCode: time 1.403e-06/0.4315, allocations: 4 kB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.01534/0.4468, allocations: 10.62 MB / 1.127 GB, free: 15.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches