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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001441/0.001441, allocations: 100.1 kB / 15.88 MB, free: 12 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.001626/0.001626, allocations: 200 kB / 16.79 MB, free: 6.828 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6804, allocations: 151.6 MB / 1.017 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03075/0.7112, allocations: 26.16 MB / 1.043 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.7225, allocations: 7.175 MB / 1.05 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.7243, allocations: 31.81 kB / 1.05 GB, free: 1.496 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.7258, allocations: 314.2 kB / 1.05 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.7295, allocations: 1.038 MB / 1.051 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.7324, allocations: 0.8582 MB / 1.052 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003629/0.736, allocations: 2.807 MB / 1.055 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.7371, allocations: 0.5291 MB / 1.055 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.7386, allocations: 0.6028 MB / 1.056 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.7397, allocations: 0.5482 MB / 1.056 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.7399, allocations: 35.94 kB / 1.056 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.742, allocations: 0.7796 MB / 1.057 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.7423, allocations: 147.4 kB / 1.057 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.743, allocations: 350.2 kB / 1.058 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.7445, allocations: 0.9042 MB / 1.059 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7446, allocations: 0 / 1.059 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7446, allocations: 0 / 1.059 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.629e-05/0.7446, allocations: 0 / 1.059 GB, free: 8.578 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.002101/0.7467, allocations: 1.055 MB / 1.06 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.7468, allocations: 12.03 kB / 1.06 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.7472, allocations: 84 kB / 1.06 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7486, allocations: 0.7295 MB / 1.06 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.7486, allocations: 40.94 kB / 1.06 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.7487, allocations: 47.91 kB / 1.06 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.7496, allocations: 0.4962 MB / 1.061 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7496, allocations: 0 / 1.061 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.7497, allocations: 24 kB / 1.061 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.7497, allocations: 19.98 kB / 1.061 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.7503, allocations: 319.7 kB / 1.061 GB, free: 5.633 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.003032/0.7533, allocations: 2.736 MB / 1.064 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.7537, allocations: 196.8 kB / 1.064 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.7538, allocations: 100.8 kB / 1.064 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.7542, allocations: 348.5 kB / 1.065 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.7542, allocations: 38.88 kB / 1.065 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.7542, allocations: 4 kB / 1.065 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0006293/0.7548, allocations: 307.9 kB / 1.065 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.7549, allocations: 55.41 kB / 1.065 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.7555, allocations: 0.507 MB / 1.065 GB, free: 1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.7555, allocations: 33.7 kB / 1.065 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.7558, allocations: 351.3 kB / 1.066 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.7559, allocations: 78.84 kB / 1.066 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.756, allocations: 81.59 kB / 1.066 GB, free: 456 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7562, allocations: 362.8 kB / 1.066 GB, free: 84 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.7563, allocations: 88.89 kB / 1.066 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.7566, allocations: 237.9 kB / 1.067 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.757, allocations: 345.5 kB / 1.067 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.757, allocations: 3.984 kB / 1.067 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006184/0.7577, allocations: 388.9 kB / 1.067 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.7577, allocations: 12.03 kB / 1.067 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7577, allocations: 4 kB / 1.067 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.7577, allocations: 4 kB / 1.067 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.758, allocations: 83.83 kB / 1.067 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.758, allocations: 8 kB / 1.067 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.7585, allocations: 59.56 kB / 1.068 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.7585, allocations: 16 kB / 1.068 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003268/0.7589, allocations: 252 kB / 1.068 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002452/0.7591, allocations: 230.6 kB / 1.068 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004117/0.7596, allocations: 332 kB / 1.068 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.7596, allocations: 0 / 1.068 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006167/0.7602, allocations: 386.3 kB / 1.069 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7602, allocations: 8.562 kB / 1.069 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7602, allocations: 4 kB / 1.069 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.7602, allocations: 12 kB / 1.069 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.7605, allocations: 79.89 kB / 1.069 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7605, allocations: 11.88 kB / 1.069 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.7609, allocations: 43.67 kB / 1.069 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.761, allocations: 27.98 kB / 1.069 GB, free: 13.24 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.0001862/0.7612, allocations: 204.1 kB / 1.069 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.7613, allocations: 55.34 kB / 1.069 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.7619, allocations: 284.5 kB / 1.069 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.7619, allocations: 3.938 kB / 1.069 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.7619, allocations: 0 / 1.069 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003734/0.7623, allocations: 381.4 kB / 1.07 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.7639, allocations: 1.05 MB / 1.071 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.764, allocations: 8.031 kB / 1.071 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.7642, allocations: 51.91 kB / 1.071 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.7642, allocations: 4 kB / 1.071 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.7642, allocations: 8 kB / 1.071 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.7642, allocations: 7.984 kB / 1.071 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7643, allocations: 4 kB / 1.071 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.7649, allocations: 0.5181 MB / 1.071 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.7652, allocations: 172.3 kB / 1.072 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.7653, allocations: 12.06 kB / 1.072 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.7657, allocations: 35.8 kB / 1.072 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.7658, allocations: 27.86 kB / 1.072 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.7658, allocations: 19.98 kB / 1.072 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004874/0.7663, allocations: 399.1 kB / 1.072 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7663, allocations: 0 / 1.072 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001072/0.7674, allocations: 343.3 kB / 1.072 GB, free: 9.469 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.0007539/0.7682, allocations: 299 kB / 1.073 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006903/0.7689, allocations: 407.7 kB / 1.073 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7689, allocations: 0 / 1.073 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.769, allocations: 112.7 kB / 1.073 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7708, allocations: 372.4 kB / 1.073 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.7728, allocations: 1.342 MB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.7733, allocations: 0.8905 MB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.7735, allocations: 55.42 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of SimCode: time 7.42e-07/0.7735, allocations: 0 / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.01721/0.7907, allocations: 10.7 MB / 1.086 GB, free: 11.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches