Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_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_10_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.001069/0.001069, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001126/0.001126, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.88 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6701, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02805/0.6982, allocations: 26.11 MB / 1.042 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.7092, allocations: 7.084 MB / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.7104, allocations: 35.75 kB / 1.049 GB, free: 1.516 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.7116, allocations: 330.2 kB / 1.05 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.7146, allocations: 1.036 MB / 1.051 GB, free: 156 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.7173, allocations: 0.8772 MB / 1.051 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.7202, allocations: 2.108 MB / 1.053 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.7211, allocations: 0.6119 MB / 1.054 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.723, allocations: 0.738 MB / 1.055 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007635/0.7238, allocations: 0.5561 MB / 1.055 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/0.7239, allocations: 56 kB / 1.055 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.726, allocations: 0.8148 MB / 1.056 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.7262, allocations: 167.4 kB / 1.056 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004554/0.7267, allocations: 378.2 kB / 1.057 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.7286, allocations: 1.215 MB / 1.058 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7286, allocations: 0 / 1.058 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7286, allocations: 0 / 1.058 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.7286, allocations: 0 / 1.058 GB, free: 8.629 MB / 0.8106 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.0015/0.7301, allocations: 1.051 MB / 1.059 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7302, allocations: 8.031 kB / 1.059 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.7305, allocations: 88 kB / 1.059 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.7316, allocations: 0.7324 MB / 1.06 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.7317, allocations: 36.94 kB / 1.06 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.7317, allocations: 47.91 kB / 1.06 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.7326, allocations: 0.5001 MB / 1.06 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.7326, allocations: 3.938 kB / 1.06 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.7327, allocations: 24 kB / 1.06 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.7327, allocations: 15.98 kB / 1.06 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.7333, allocations: 315.7 kB / 1.061 GB, free: 5.691 MB / 0.8106 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.003198/0.7365, allocations: 2.74 MB / 1.063 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.7369, allocations: 198.4 kB / 1.063 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.737, allocations: 100.8 kB / 1.064 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.7374, allocations: 340.4 kB / 1.064 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.7374, allocations: 38.88 kB / 1.064 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.7374, allocations: 0 / 1.064 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.000575/0.738, allocations: 312.1 kB / 1.064 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.7382, allocations: 59.34 kB / 1.064 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.7387, allocations: 0.5108 MB / 1.065 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.7388, allocations: 33.7 kB / 1.065 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.7391, allocations: 343.4 kB / 1.065 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.7391, allocations: 82.84 kB / 1.065 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.7393, allocations: 81.59 kB / 1.065 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7394, allocations: 362.8 kB / 1.066 GB, free: 144 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7396, allocations: 92.81 kB / 1.066 GB, free: 48 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.7399, allocations: 233.9 kB / 1.066 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.7403, allocations: 341.4 kB / 1.066 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.7403, allocations: 4 kB / 1.066 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006909/0.741, allocations: 392.4 kB / 1.067 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7411, allocations: 4 kB / 1.067 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7411, allocations: 4 kB / 1.067 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.7411, allocations: 8 kB / 1.067 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.7414, allocations: 84.39 kB / 1.067 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7414, allocations: 12 kB / 1.067 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.7418, allocations: 51.56 kB / 1.067 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7419, allocations: 20 kB / 1.067 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003174/0.7422, allocations: 248 kB / 1.067 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002528/0.7425, allocations: 234.6 kB / 1.067 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004312/0.7429, allocations: 332 kB / 1.068 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.7429, allocations: 0 / 1.068 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005594/0.7435, allocations: 382.5 kB / 1.068 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7435, allocations: 11.94 kB / 1.068 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7435, allocations: 4 kB / 1.068 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.7435, allocations: 7.938 kB / 1.068 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.7437, allocations: 83.83 kB / 1.068 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7438, allocations: 11.94 kB / 1.068 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.7441, allocations: 48.11 kB / 1.068 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.7442, allocations: 23.98 kB / 1.068 GB, free: 13.3 MB / 0.8262 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.0001455/0.7443, allocations: 204.1 kB / 1.068 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.7444, allocations: 59.34 kB / 1.068 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.7449, allocations: 280.3 kB / 1.069 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.745, allocations: 7.938 kB / 1.069 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.745, allocations: 0 / 1.069 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003917/0.7454, allocations: 385.4 kB / 1.069 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.7469, allocations: 1.055 MB / 1.07 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7469, allocations: 4 kB / 1.07 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.7471, allocations: 47.97 kB / 1.07 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7471, allocations: 7.938 kB / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.7471, allocations: 8 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.7471, allocations: 8.266 kB / 1.07 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7471, allocations: 8 kB / 1.07 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.7478, allocations: 0.5165 MB / 1.071 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.7482, allocations: 172.3 kB / 1.071 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.7483, allocations: 8 kB / 1.071 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.7486, allocations: 35.94 kB / 1.071 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.7487, allocations: 23.86 kB / 1.071 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.7488, allocations: 19.98 kB / 1.071 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005107/0.7493, allocations: 399.1 kB / 1.071 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7493, allocations: 0 / 1.071 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001007/0.7503, allocations: 347.3 kB / 1.072 GB, free: 9.523 MB / 0.8262 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.0006755/0.751, allocations: 296.9 kB / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.7517, allocations: 426 kB / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7517, allocations: 0 / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7519, allocations: 103.8 kB / 1.072 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.7535, allocations: 376.5 kB / 1.073 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.7554, allocations: 1.312 MB / 1.074 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.7559, allocations: 0.8941 MB / 1.075 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005651/0.7565, allocations: 165.1 kB / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7566, allocations: 59.36 kB / 1.075 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.7566, allocations: 0 / 1.075 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.02135/0.7779, allocations: 12.58 MB / 1.087 GB, free: 9.461 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches