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.001092/0.001092, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006106/0.006106, allocations: 172.4 kB / 16.27 MB, free: 6.66 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.787/2.787, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7492, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02856/0.7778, allocations: 25.48 MB / 1.048 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.7895, allocations: 7.086 MB / 1.055 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.7906, allocations: 31.75 kB / 1.055 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.7916, allocations: 318.2 kB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.7945, allocations: 1.028 MB / 1.056 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.7969, allocations: 0.8619 MB / 1.057 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003733/0.8006, allocations: 2.81 MB / 1.06 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.8015, allocations: 0.5078 MB / 1.06 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.8028, allocations: 0.5988 MB / 1.061 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000813/0.8036, allocations: 0.5326 MB / 1.061 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.8037, allocations: 24 kB / 1.061 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.8055, allocations: 0.7679 MB / 1.062 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.8057, allocations: 135.4 kB / 1.062 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.8062, allocations: 367.8 kB / 1.063 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.8079, allocations: 1.16 MB / 1.064 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8079, allocations: 0 / 1.064 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8079, allocations: 0 / 1.064 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.8079, allocations: 4 kB / 1.064 GB, free: 5.98 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.00152/0.8095, allocations: 0.9112 MB / 1.065 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8095, allocations: 16.03 kB / 1.065 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.8098, allocations: 91.98 kB / 1.065 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.8111, allocations: 0.7295 MB / 1.065 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.8112, allocations: 36.94 kB / 1.066 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.8113, allocations: 44 kB / 1.066 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.8121, allocations: 0.504 MB / 1.066 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.8122, allocations: 0 / 1.066 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.8122, allocations: 24 kB / 1.066 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.8123, allocations: 12 kB / 1.066 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.8128, allocations: 319.6 kB / 1.066 GB, free: 3.176 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.003205/0.8161, allocations: 2.748 MB / 1.069 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.8165, allocations: 194.7 kB / 1.069 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8166, allocations: 97.56 kB / 1.069 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.8171, allocations: 336.4 kB / 1.07 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.8171, allocations: 54.75 kB / 1.07 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.8171, allocations: 0 / 1.07 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005663/0.8177, allocations: 299.7 kB / 1.07 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.8178, allocations: 55.39 kB / 1.07 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.8185, allocations: 0.5147 MB / 1.071 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.8186, allocations: 29.7 kB / 1.071 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.819, allocations: 347.3 kB / 1.071 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.8191, allocations: 78.84 kB / 1.071 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.8192, allocations: 41.7 kB / 1.071 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.8195, allocations: 358.8 kB / 1.071 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.8197, allocations: 87.95 kB / 1.071 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.82, allocations: 237.9 kB / 1.072 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.8204, allocations: 333.5 kB / 1.072 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8205, allocations: 0 / 1.072 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000638/0.8211, allocations: 391.8 kB / 1.072 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.8214, allocations: 217 kB / 1.073 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8214, allocations: 4 kB / 1.073 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8214, allocations: 12.05 kB / 1.073 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.8218, allocations: 83.83 kB / 1.073 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.8218, allocations: 7.938 kB / 1.073 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.8223, allocations: 59.56 kB / 1.073 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.8223, allocations: 23.98 kB / 1.073 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.8223, allocations: 4 kB / 1.073 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005175/0.8229, allocations: 311.9 kB / 1.073 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8229, allocations: 4 kB / 1.073 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.8229, allocations: 8 kB / 1.073 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.8231, allocations: 75.91 kB / 1.073 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.8231, allocations: 11.94 kB / 1.073 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.8235, allocations: 51.72 kB / 1.073 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.8235, allocations: 16 kB / 1.073 GB, free: 11.58 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.0002959/0.8238, allocations: 284.9 kB / 1.073 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.8239, allocations: 55.34 kB / 1.074 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.8244, allocations: 274.6 kB / 1.074 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.8245, allocations: 4 kB / 1.074 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8245, allocations: 4 kB / 1.074 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004102/0.8249, allocations: 383.6 kB / 1.074 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.8265, allocations: 1.059 MB / 1.075 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8265, allocations: 4 kB / 1.075 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.8267, allocations: 59.91 kB / 1.075 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.8267, allocations: 4 kB / 1.075 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.8268, allocations: 11.94 kB / 1.075 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.8268, allocations: 7.938 kB / 1.075 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8268, allocations: 4 kB / 1.075 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.8275, allocations: 0.5181 MB / 1.076 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.8277, allocations: 184.3 kB / 1.076 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.8278, allocations: 7.938 kB / 1.076 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.8282, allocations: 27.88 kB / 1.076 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.8282, allocations: 28.03 kB / 1.076 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.8283, allocations: 19.98 kB / 1.076 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005097/0.8288, allocations: 395.1 kB / 1.076 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8288, allocations: 0 / 1.076 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001025/0.8298, allocations: 339.3 kB / 1.077 GB, free: 7.727 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.0006922/0.8305, allocations: 310.3 kB / 1.077 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007719/0.8313, allocations: 410.5 kB / 1.077 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8313, allocations: 0 / 1.077 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.8316, allocations: 111.9 kB / 1.078 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.835, allocations: 362.6 kB / 1.078 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.8381, allocations: 1.365 MB / 1.079 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.839, allocations: 0.8944 MB / 1.08 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009583/0.8399, allocations: 161.1 kB / 1.08 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.8401, allocations: 51.42 kB / 1.08 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/0.8401, allocations: 0 / 1.08 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.04034/0.8805, allocations: 12.22 MB / 1.092 GB, free: 7.977 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=400 -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